Skip to content

Project OpenGeode

class SurfaceEdgesBuilder

Interface class to represent the builder of a SurfaceEdges

Functions

SurfaceEdgesBuilder

cpp
public void SurfaceEdgesBuilder<dimension>(SurfaceEdges<dimension> & edges)
public void SurfaceEdgesBuilder<dimension>(SurfaceEdges<dimension> & edges)

delete_isolated_edges

cpp
public int delete_isolated_edges()
public int delete_isolated_edges()

Delete all the isolated edges (not used as polygon edges)

return the mapping between old edge indices to new ones. Deleted edges new index is NO_ID

find_or_create_edge

cpp
public index_t find_or_create_edge(std::array<index_t, 2> edge_vertices)
public index_t find_or_create_edge(std::array<index_t, 2> edge_vertices)

delete_edges

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

remove_edge

cpp
public void remove_edge(std::array<index_t, 2> edge_vertices)
public void remove_edge(std::array<index_t, 2> edge_vertices)

update_edge_vertices

cpp
public void update_edge_vertices(Span old2new)
public void update_edge_vertices(Span old2new)

update_edge_vertex

cpp
public void update_edge_vertex(std::array<index_t, 2> edge_vertices, index_t edge_vertex_id, index_t new_vertex_id)
public void update_edge_vertex(std::array<index_t, 2> edge_vertices, index_t edge_vertex_id, index_t new_vertex_id)

copy

cpp
public void copy(const SurfaceEdges<dimension> & edges)
public void copy(const SurfaceEdges<dimension> & edges)

delete_edges

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

class SurfaceEdgesBuilder

class SurfaceEdgesBuilder

Geode-solutions' documentation website