Skip to content

Project Geode-Common

class TriangulatedSurfaceModifier

cpp
Inherits from VerticesModifier
Inherits from VerticesModifier

class TriangulatedSurfaceModifier

cpp
Inherits from VerticesModifier
Inherits from VerticesModifier

class TriangulatedSurfaceModifier

cpp
Inherits from VerticesModifier
Inherits from VerticesModifier

Records

PolygonEdgeInfo

SplitPolygonEdgeInfo

SplitTriangleInfo

CollapseEdgeInfo

SwapEdgeInfo

RemoveMultipleAdjacencyInfo

SplitCollapseInfo

CleanMappings

Functions

TriangulatedSurfaceModifier

cpp
public void TriangulatedSurfaceModifier<dimension>(const TriangulatedSurface<dimension> & surface, TriangulatedSurfaceBuilder<dimension> & builder)
public void TriangulatedSurfaceModifier<dimension>(const TriangulatedSurface<dimension> & surface, TriangulatedSurfaceBuilder<dimension> & builder)

TriangulatedSurfaceModifier

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

operator=

cpp
public TriangulatedSurfaceModifier<dimension> & operator=(TriangulatedSurfaceModifier<dimension> && other)
public TriangulatedSurfaceModifier<dimension> & operator=(TriangulatedSurfaceModifier<dimension> && other)

~TriangulatedSurfaceModifier

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

is_triangle_active

cpp
public bool is_triangle_active(index_t triangle_id)
public bool is_triangle_active(index_t triangle_id)

is_edge_active

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

is_edge_active

cpp
public bool is_edge_active(const PolygonEdge & edge)
public bool is_edge_active(const PolygonEdge & edge)

split_triangle

cpp
public SplitTriangleInfo split_triangle(index_t triangle_id, const Point<dimension> & point)
public SplitTriangleInfo split_triangle(index_t triangle_id, const Point<dimension> & point)

Split a triangle into three new triangles.

triangle_id [in] Index of the triangle to split.

point [in] Coordinates of the split point.

warning Given triangle is set as inactive but not deleted.

split_edge

cpp
public SplitPolygonEdgeInfo split_edge(const PolygonEdge & edge, const Point<dimension> & point)
public SplitPolygonEdgeInfo split_edge(const PolygonEdge & edge, const Point<dimension> & point)

Split an edge into two new edges. The triangles incident to this edge are also split into two new triangles.

edge [in] Index of the PolygonEdge to split.

point [in] Coordinates of the split point.

warning Split triangles are set as inactive but not deleted.

collapse_edge

cpp
public CollapseEdgeInfo collapse_edge(const PolygonEdge & edge, const Point<dimension> & point)
public CollapseEdgeInfo collapse_edge(const PolygonEdge & edge, const Point<dimension> & point)

Collapse an edge. The triangles incident to this edge are set as inactive but not deleted.

edge [in] Index of the PolygonEdge to collapse.

point [in] Coordinates of the collapse point.

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. The triangles incident to this edge are set as inactive but not deleted.

edge_id [in] Unique index of the edge to collapse.

point [in] Coordinates of the collapse point.

swap_edge

cpp
public SwapEdgeInfo swap_edge(const PolygonEdge & edge)
public SwapEdgeInfo swap_edge(const PolygonEdge & edge)

Swap an edge.

edge [in] The edge to swap.

move_point

cpp
public void move_point(index_t vertex, const Point<dimension> & point)
public void move_point(index_t vertex, const Point<dimension> & point)

remove_double_adjacency

cpp
public RemoveMultipleAdjacencyInfo remove_double_adjacency(index_t vertex)
public RemoveMultipleAdjacencyInfo remove_double_adjacency(index_t vertex)

split_collapse_edge

cpp
public SplitCollapseInfo split_collapse_edge(const PolygonEdge & edge)
public SplitCollapseInfo split_collapse_edge(const PolygonEdge & edge)

split_collapse_edge

cpp
public SplitCollapseInfo split_collapse_edge(const PolygonEdge & edge, const Point<dimension> & point)
public SplitCollapseInfo split_collapse_edge(const PolygonEdge & edge, const Point<dimension> & point)

clean_triangles

cpp
public vector clean_triangles()
public vector clean_triangles()

Clean up the mesh removing inactive triangles

return old2new mappings for triangles

clean_vertices

cpp
public vector clean_vertices()
public vector clean_vertices()

Clean up the mesh removing isolated vertices

return old2new mappings for vertices

warning This method should be called after clean_triangles()

clean_edges

cpp
public vector clean_edges()
public vector clean_edges()

Clean up the mesh removing edges

return old2new mappings for edges

warning This method should be called after clean_triangles()

clean

cpp
public CleanMappings clean()
public CleanMappings clean()

Clean up the mesh removing inactive triangles, isolated vertices and edges.

return old2new mappings for triangles, vertices and edges.

TriangulatedSurfaceModifier

cpp
public void TriangulatedSurfaceModifier<dimension>(const VertexSet & surface, VertexSetBuilder & builder, MeshModifierFactoryKey key)
public void TriangulatedSurfaceModifier<dimension>(const VertexSet & surface, VertexSetBuilder & builder, MeshModifierFactoryKey key)

surface

cpp
protected const SurfaceMesh<dimension> & surface()
protected const SurfaceMesh<dimension> & surface()

builder

cpp
protected TriangulatedSurfaceBuilder<dimension> & builder()
protected TriangulatedSurfaceBuilder<dimension> & builder()

Geode-solutions' documentation website