Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Clustering
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Clustering/FaceNormalClustering.h |
| Include | #include "Clustering/FaceNormalClustering.h" |
Syntax
struct FClusterOptions
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bApplyNormalToleranceToClusters | Whether to consider the average normal of the whole cluster before merging. If false, will only consider the normals of the original triangles within a group. | |
| double | NormalOneMinusCosTolerance | If one minus the dot product of normals is greater than this value, they are similar enough to be joined together. | |
| double | SmallFaceAreaThreshold | The area threshold below which we ignore the computed triangle normal, and always merge to an adjacent group. Helps avoid tiny triangles failing to cluster due to unreliable normals. | |
| int32 | TargetMinGroups | The minimum number of cluster groups below which to stop merging clusters. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | SetNormalAngleToleranceInDegrees
(
double ToleranceInDegrees |