8 class SimplexCollection;
27 std::vector<RawSimplex>
simplex_vector(
const int64_t dimension)
const;
static bool are_simplex_collections_equal(const RawSimplexCollection &collection_a, const RawSimplexCollection &collection_b)
Check if the two simplex collections are equal.
void add(const RawSimplex &simplex)
Add simplex to the collection.
std::vector< RawSimplex > m_simplices
bool contains(const RawSimplex &simplex) const
Check if simplex is contained in collection.
static RawSimplexCollection get_intersection(const RawSimplexCollection &collection_a, const RawSimplexCollection &collection_b)
Get intersection of two simplex collections.
static RawSimplexCollection get_union(const RawSimplexCollection &collection_a, const RawSimplexCollection &collection_b)
Get union of two simplex collections.
RawSimplexCollection(std::vector< RawSimplex > &&simplices={})
void sort_and_clean()
Sort simplex vector and remove duplicates.
const std::vector< RawSimplex > & simplex_vector() const
Return const reference to the RawSimplex vector.
A meshless implementation of the simplex that just stores an array of ids.