Navigation
API > API/Plugins > API/Plugins/DynamicMesh
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/MeshPaths.h |
| Include | #include "MeshPaths.h" |
Syntax
class FMeshPaths
Remarks
Given a mesh and a set of edges, walk connected edges to form a set of paths. We do not distinguish betweens spans and loops if the input set of edges forms a loop, it will create an FEdgeSpan with those edges. If the input edges do not form loops, then paths will begin/end at vertices incident on 1 or >2 of the given edges (e.g. "dead ends" or "intersections" of paths.)
Variables
| Type | Name | Description | |
|---|---|---|---|
| const TSet< int > | Edges | ||
| const FDynamicMesh3 * | Mesh | Inputs. | |
| TArray< FEdgeSpan > | Spans | Outputs. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMeshPaths
(
const FDynamicMesh3* Mesh, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Compute () |
Find connected simple paths made up of edges in the input Edges structure. |