FMeshRegionBoundaryLoops::GetTriangleSetBoundaryLoop

Find the edge loop border around a set of triangles of a Mesh.

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/MeshRegionBoundaryLoops.h

Include

#include "MeshRegionBoundaryLoops.h"

Source

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Private/MeshRegionBoundaryLoops.cpp

Syntax

static bool GetTriangleSetBoundaryLoop
(
    const FDynamicMesh3 & Mesh,
    const TArray< int32 > & Tris,
    FEdgeLoop & Loop
)

Remarks

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.

Returns

true if a single well-formed loop was found, false if non-manifold or failure case encountered

Parameters

Parameter

Description

Loop

output loop will be stored here. This value is garbage if false is returned.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss