Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/CompGeom > API/Runtime/GeometryCore/CompGeom/FDelaunay2 > API/Runtime/GeometryCore/CompGeom/FDelaunay2/ConstrainEdges
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/CompGeom/Delaunay2.h |
| Include | #include "CompGeom/Delaunay2.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/CompGeom/Delaunay2.cpp |
bool ConstrainEdges
(
TArrayView < const TVector2 < double > > Vertices,
TArrayView < const FIndex2i > Edges
)
Remarks
Update an already-computed triangulation so the given edges are in the triangulation. Note: Assumes the edges do not intersect other constrained edges OR existing vertices in the triangulation true if edges were successfully inserted. Note: Will not detect failure due to intersection of constrained edges unless member bValidateEdges == true.