Skip to content

Project Geode-Common

class EdgedCurveModifier

class EdgedCurveModifier

cpp
Inherits from VerticesModifier
Inherits from VerticesModifier

Records

CollapseEdgeInfo

Functions

EdgedCurveModifier

cpp
public void EdgedCurveModifier<dimension>(const EdgedCurve<dimension> & curve, EdgedCurveBuilder<dimension> & builder)
public void EdgedCurveModifier<dimension>(const EdgedCurve<dimension> & curve, EdgedCurveBuilder<dimension> & builder)

EdgedCurveModifier

cpp
public void EdgedCurveModifier<dimension>(EdgedCurveModifier<dimension> && other)
public void EdgedCurveModifier<dimension>(EdgedCurveModifier<dimension> && other)

~EdgedCurveModifier

cpp
public void ~EdgedCurveModifier<dimension>()
public void ~EdgedCurveModifier<dimension>()

is_edge_active

cpp
public bool is_edge_active(index_t edge_id)
public bool is_edge_active(index_t edge_id)

collapse_edge

cpp
public CollapseEdgeInfo collapse_edge(index_t edge_id, const Point<dimension> & point)
public CollapseEdgeInfo collapse_edge(index_t edge_id, const Point<dimension> & point)

Collapse an edge.

edge_id [in] Index of the edge to collapse.

point [in] Coordinates of the collapse point.

return the index of the collapse vertex.

split_edge

cpp
public index_t split_edge(index_t edge_id, const Point<dimension> & point)
public index_t split_edge(index_t edge_id, const Point<dimension> & point)

Split an edge.

edge_id [in] Index of the edge to split.

point [in] Coordinates of the new point.

return the index of the new vertex.

clean_edges

cpp
public vector clean_edges()
public vector clean_edges()

Clean up the mesh removing inactive edges

return old2new mappings for edges

clean_vertices

cpp
public vector clean_vertices()
public vector clean_vertices()

Clean up the mesh removing isolated vertices

return old2new mappings for vertices

clean

cpp
public std::tuple<std::vector<index_t>, std::vector<index_t> > clean()
public std::tuple<std::vector<index_t>, std::vector<index_t> > clean()

Clean up the mesh removing inactive edges, isolated vertices.

return old2new mappings for edges and vertices.

curve

cpp
protected const EdgedCurve<dimension> & curve()
protected const EdgedCurve<dimension> & curve()

class EdgedCurveModifier

Geode-solutions' documentation website