Skip to content

Project OpenGeode

class SolidFacetsBuilder

Interface class to represent the builder of a SolidFacets

Functions

SolidFacetsBuilder

cpp
public void SolidFacetsBuilder<dimension>(SolidFacets<dimension> & facets)
public void SolidFacetsBuilder<dimension>(SolidFacets<dimension> & facets)

delete_isolated_facets

cpp
public int delete_isolated_facets()
public int 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(PolyhedronFacetVertices facet_vertices)
public index_t find_or_create_facet(PolyhedronFacetVertices facet_vertices)

delete_facets

cpp
public int delete_facets(const int & to_delete)
public int delete_facets(const int & to_delete)

remove_facet

cpp
public void remove_facet(PolyhedronFacetVertices facet_vertices)
public void remove_facet(PolyhedronFacetVertices facet_vertices)

update_facet_vertex

cpp
public void update_facet_vertex(PolyhedronFacetVertices facet_vertices, index_t facet_vertex_id, index_t new_vertex_id)
public void update_facet_vertex(PolyhedronFacetVertices facet_vertices, index_t facet_vertex_id, index_t new_vertex_id)

update_facet_vertices

cpp
public int update_facet_vertices(Span old2new)
public int update_facet_vertices(Span old2new)

copy

cpp
public void copy(const SolidFacets<dimension> & facets)
public void copy(const SolidFacets<dimension> & facets)

delete_facets

cpp
public vector delete_facets(const std::vector<bool> & to_delete)
public vector delete_facets(const std::vector<bool> & to_delete)

class SolidFacetsBuilder

Geode-solutions' documentation website