Project Geode-Common
class TriangulatedSurfaceEpsilonModifier
Inherits from TriangulatedSurfaceModifier<3U>
Inherits from TriangulatedSurfaceModifier<3U>
class TriangulatedSurfaceEpsilonModifier
Inherits from TriangulatedSurfaceModifier<2U>
Inherits from TriangulatedSurfaceModifier<2U>
class TriangulatedSurfaceEpsilonModifier
Inherits from TriangulatedSurfaceModifier<dimension>
Inherits from TriangulatedSurfaceModifier<dimension>
Functions
TriangulatedSurfaceEpsilonModifier
public void TriangulatedSurfaceEpsilonModifier<dimension>(const TriangulatedSurface<dimension> & surface, TriangulatedSurfaceBuilder<dimension> & builder)
public void TriangulatedSurfaceEpsilonModifier<dimension>(const TriangulatedSurface<dimension> & surface, TriangulatedSurfaceBuilder<dimension> & builder)
~TriangulatedSurfaceEpsilonModifier
public void ~TriangulatedSurfaceEpsilonModifier<dimension>()
public void ~TriangulatedSurfaceEpsilonModifier<dimension>()
insert_point_in_triangle
public std::tuple<POSITION, SplitTriangleInfo> insert_point_in_triangle(index_t triangle_id, const Point<dimension> & point)
public std::tuple<POSITION, SplitTriangleInfo> insert_point_in_triangle(index_t triangle_id, const Point<dimension> & point)
Insert a point in a triangle either by spliting the triangle into three new ones, or by snapping the point on an edge (two new triangles) or a vertex (no new triangles).
triangle_id [in] Index of the triangle to split.
point [in] Coordinates of the split point.
warning Split triangle is set as inactive but not deleted.
return in the following order: the position of the split vertex, the information regarding the modifications.
insert_point_on_edge
public std::tuple<POSITION, SplitPolygonEdgeInfo> insert_point_on_edge(const PolygonEdge & edge, const Point<dimension> & point)
public std::tuple<POSITION, SplitPolygonEdgeInfo> insert_point_on_edge(const PolygonEdge & edge, const Point<dimension> & point)
Insert a point on an edge either by spliting the edge into two new ones, or by snapping the point on a vertex (no new edges).
edge [in] Index of the PolygonEdge to split.
point [in] Coordinates of the split point.
warning Potential split triangles are set as inactive but not deleted.
return in the following order: the position of the split vertex, the information regarding the modifications.