Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FDelaunay2
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TArray< FIndex3i > GetFilledTriangles
(
TArrayView< const FIndex2i > Edges, |
Return 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 | CompGeom/Delaunay2.h | |
bool GetFilledTriangles
(
TArray< FIndex3i >& TrianglesOut, |
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 | CompGeom/Delaunay2.h | |
bool GetFilledTriangles
(
TArray< FIndex3i >& TrianglesOut, |
Get (by reference) the triangles that are inside the given edges, removing the outside-boundary triangles and the inside-hole triangles | CompGeom/Delaunay2.h |
GetFilledTriangles(TArrayView< const FIndex2i >, EFillMode)
Description
Return 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
| Name | GetFilledTriangles |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/CompGeom/Delaunay2.h |
| Include Path | #include "CompGeom/Delaunay2.h" |
TArray < FIndex3i > GetFilledTriangles
(
TArrayView < const FIndex2i > Edges,
EFillMode FillMode
)
A subset of the triangulation that is 'inside' the given edges, as defined by the FillMode
Parameters
| Name | Remarks |
|---|---|
| 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 |
GetFilledTriangles(TArray< FIndex3i > &, TArrayView< const FIndex2i >, EFillMode)
Description
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
| Name | GetFilledTriangles |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/CompGeom/Delaunay2.h |
| Include Path | #include "CompGeom/Delaunay2.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/CompGeom/Delaunay2.cpp |
bool GetFilledTriangles
(
TArray < FIndex3i > & TrianglesOut,
TArrayView < const FIndex2i > Edges,
EFillMode FillMode
) const
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 | Remarks |
|---|---|
| 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 |
GetFilledTriangles(TArray< FIndex3i > &, TArrayView< const FIndex2i >, TArrayView< const FIndex2i >)
Description
Get (by reference) the triangles that are inside the given edges, removing the outside-boundary triangles and the inside-hole triangles
| Name | GetFilledTriangles |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/CompGeom/Delaunay2.h |
| Include Path | #include "CompGeom/Delaunay2.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/CompGeom/Delaunay2.cpp |
bool GetFilledTriangles
(
TArray < FIndex3i > & TrianglesOut,
TArrayView < const FIndex2i > BoundaryEdges,
TArrayView < const FIndex2i > HoleEdges
) const
true if any result was successfully computed (including an empty result). Currently only returns false if Triangulate() has not been called yet.
Parameters
| Name | Remarks |
|---|---|
| TrianglesOut | Will be filled with a subset of the triangulation that is 'inside' the given edges, as defined by the FillMode |
| BoundaryEdges | Constrained edges in the triangulation that define the boundary of the desired shape |
| HoleEdges | Constrained edges in the triangulation that define inner holes of the desired shape |