Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FSizedDisjointSet
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/VertexConnectedComponents.h |
| Include | #include "VertexConnectedComponents.h" |
int32 CompactedGroupIndexToGroupID
(
TArray < int32 > * CompactIdxToGroupID,
TArray < int32 > * GroupIDToCompactIdx,
int32 MinGroupSize
)
Remarks
Create mappings between compacted Group Index and group ID, where the compacted indices numbers the groups from 0 to NumGroups The number of groups found
Parameters
| Name | Description |
|---|---|
| CompactIdxToGroupID | Array to fill with the Compact Index -> Original Group ID mapping. If null, array will not be set. |
| GroupIDToCompactIdx | Array to fill with the Original Group ID -> Compact Index mapping. If null, array will not be set. |
| MinGroupSize | The minimum size of group to consider. Groups smaller than this will not be counted. |