Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FMeshConnectedComponents
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void FindConnectedTriangles
(
TFunction< bool(int32, int32)> TrisConnectedPredicate |
Calculation functions. | Selections/MeshConnectedComponents.h | |
void FindConnectedTriangles
(
const TArray< int >& TriangleROI, |
Find all connected triangle components of a subset of triangles of the Mesh and store in Components array. | Selections/MeshConnectedComponents.h | |
void FindConnectedTriangles
(
TFunctionRef< bool(int)> IndexFilterFunc, |
Find all connected triangle components of a subset of triangles of the Mesh and store in Components array. | Selections/MeshConnectedComponents.h |
FindConnectedTriangles(TFunction< bool(int32, int32)>)
Description
Calculation functions. Call these to calculate different types of Components. Find all connected triangle components of the Mesh and store in Components array. Triangle connectivity is based on edge connectivity, ie bowtie-vertices are not connections between triangles.
| Name | FindConnectedTriangles |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Selections/MeshConnectedComponents.h |
| Include Path | #include "Selections/MeshConnectedComponents.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/Selections/MeshConnectedComponents.cpp |
void FindConnectedTriangles
(
TFunction < bool> TrisConnectedPredicate
)
Parameters
| Name | Remarks |
|---|---|
| TrisConnectedPredicate | optional function that specifies whether two edge-connected triangles should be considered connected by the search |
FindConnectedTriangles(const TArray< int > &, TFunction< bool(int32, int32)>)
Description
Find all connected triangle components of a subset of triangles of the Mesh and store in Components array. Triangle connectivity is based on edge connectivity, ie bowtie-vertices are not connections between triangles.
| Name | FindConnectedTriangles |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Selections/MeshConnectedComponents.h |
| Include Path | #include "Selections/MeshConnectedComponents.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/Selections/MeshConnectedComponents.cpp |
void FindConnectedTriangles
(
const TArray < int > & TriangleROI,
TFunction < bool> TrisConnectedPredicate
)
Parameters
| Name | Remarks |
|---|---|
| TriangleROI | list of triangles to search across |
| TrisConnectedPredicate | optional function that specifies whether two edge-connected triangles should be considered connected by the search |
FindConnectedTriangles(TFunctionRef< bool(int)>, TFunction< bool(int32, int32)>)
Description
Find all connected triangle components of a subset of triangles of the Mesh and store in Components array. Triangle connectivity is based on edge connectivity, ie bowtie-vertices are not connections between triangles.
| Name | FindConnectedTriangles |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Selections/MeshConnectedComponents.h |
| Include Path | #include "Selections/MeshConnectedComponents.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/Selections/MeshConnectedComponents.cpp |
void FindConnectedTriangles
(
TFunctionRef < bool> IndexFilterFunc,
TFunction < bool> TrisConnectedPredicate
)
Parameters
| Name | Remarks |
|---|---|
| IndexFilterFunc | defines set of triangles to search across, return true for triangle IDs that are to be considered |
| TrisConnectedPredicate | optional function that specifies whether two edge-connected triangles should be considered connected by the search |