Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/CompGeom > API/Runtime/GeometryCore/CompGeom/FDelaunay2 > API/Runtime/GeometryCore/CompGeom/FDelaunay2/GetFilledTriangles
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 GetFilledTriangles
&40;
TArray< FIndex3i > & TrianglesOut,
TArrayView< const FIndex2i > Edges,
EFillMode FillMode
&41; const
Remarks
Get (by reference) the triangles that are inside the given edges, removing the outer boundary triangles If a Winding-Number-based fill mode is used, assumes edges are oriented and tracks the winding number across edges true if the result was well defined and consistent; false otherwise. Solid fill mode always has a well defined result; Winding-number-based fills do not if the edges have open spans. Note the triangulation will still be filled by best-effort even if the function returns false.
Parameters
| Name | Description |
|---|---|
| TrianglesOut | Will be filled with a subset of the triangulation that is 'inside' the given edges, as defined by the FillMode |
| Edges | The array of edges that were already constrained in the triangulation (by a previous call to Triangulate or ConstrainEdges) |
| FillMode | Strategy to use to define which triangles to include in the output |