Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/Polygroups > API/Plugins/DynamicMesh/Polygroups/FPolygroupsGenerator
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Polygroups/PolygroupsGenerator.h |
| Include | #include "Polygroups/PolygroupsGenerator.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/Polygroups/PolygroupsGenerator.cpp |
bool FindPolygroupsFromFurthestPointSampling
&40;
int32 NumPoints,
EWeightingType WeightingType,
FVector3d WeightingCoeffs,
FPolygroupSet &42; StartingGroups
&41;
Remarks
Incrementally compute approximate-geodesic-based furthest-point sampling of the mesh until NumPoints samples have been found, then compute local geodesic patches (eg approximate surface voronoi diagaram). Optionally weight geodesic-distance computation, which will produce different patch shapes. If StartingGroups are provided, then new groups are constrained to subdivide existing groups, ie none of the new groups will cross the boundaries of the StartingGroups