Project OpenGeode
class SolidFacetsBuilder
Interface class to represent the builder of a SolidFacets
Functions
SolidFacetsBuilder
cpp
public void SolidFacetsBuilder<>(SolidFacets<dimension> & facets)
public void SolidFacetsBuilder<>(SolidFacets<dimension> & facets)
delete_isolated_facets
cpp
public vector delete_isolated_facets()
public vector delete_isolated_facets()
Delete all the isolated facets (not used as polyhedron facets)
return the mapping between old facet indices to new ones. Deleted facets new index is NO_ID
find_or_create_facet
cpp
public index_t find_or_create_facet(InlinedVector facet_vertices)
public index_t find_or_create_facet(InlinedVector facet_vertices)
delete_facets
cpp
public vector delete_facets(const std::vector<bool> & to_delete)
public vector delete_facets(const std::vector<bool> & to_delete)
remove_facet
cpp
public void remove_facet(InlinedVector facet_vertices)
public void remove_facet(InlinedVector facet_vertices)
update_facet_vertex
cpp
public void update_facet_vertex(InlinedVector facet_vertices, index_t facet_vertex_id, index_t new_vertex_id)
public void update_facet_vertex(InlinedVector facet_vertices, index_t facet_vertex_id, index_t new_vertex_id)
update_facet_vertices
cpp
public vector update_facet_vertices(Span old2new)
public vector update_facet_vertices(Span old2new)
copy
cpp
public void copy(const SolidFacets<dimension> & facets)
public void copy(const SolidFacets<dimension> & facets)