Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FMeshRegionBoundaryLoops
Description
Find the edge loop border around a set of triangles of a Mesh. This is computed via local walk and so does not create any full-mesh data structures. However current implementation may not be efficient for large triangle sets. Algorithm terminates if a non-manifold boundary is detected, and returns false if some triangles are unused.
| Name | GetTriangleSetBoundaryLoop |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/MeshRegionBoundaryLoops.h |
| Include Path | #include "MeshRegionBoundaryLoops.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/MeshRegionBoundaryLoops.cpp |
static bool GetTriangleSetBoundaryLoop
(
const FDynamicMesh3 & Mesh,
const TArray < int32 > & Tris,
FEdgeLoop & Loop
)
true if a single well-formed loop was found, false if non-manifold or failure case encountered
Parameters
| Name | Remarks |
|---|---|
| Loop | output loop will be stored here. This value is garbage if false is returned. |