 |
bool |
bAllowCompact |
Allow the algorithm to discard underlying geometry once it will no longer be used, resulting in a smaller representation and faster merges. |
 |
bool |
bErrorToleranceOverridesNumParts |
Whether ErrorTolerance is allowed to keep merging below the TargetNumParts. |
 |
bool |
bRequireHullTriangles |
Require all hulls to have associated triangles after MergeBest is completed. (If using InitializeFromHulls, will need to triangulate any un-merged hulls.) |
 |
TFunction< bool(const FConvexDecomposition3::FConvexPart &A, const FConvexDecomposition3::FConvexPar... |
CustomAllowMergeParts |
Optional custom function to control whether parts are allowed to merge. |
 |
double |
ErrorTolerance |
If > 0, allow merging parts with error less than this tolerance. |
 |
int32 |
MaxOutputHulls |
If > 0, maximum number of output parts; overrides ErrorTolerance and TargetNumParts if they would create more parts than this. |
 |
TFunction< void(int32, int32)> |
MergeCallback |
Optional callback, to be called when two parts are merged. Takes the original (pre-merge) convex decomposition part indices as input. |
 |
double |
MinThicknessTolerance |
Optionally specify a minimum thickness (in cm) for convex parts; parts below this thickness will always be merged away. Overrides TargetNumParts and ErrorTolerance when needed. |
 |
const FSphereCovering * |
OptionalNegativeSpace |
Optional representation of negative space that should not be covered by merges. |
 |
const FTransform * |
OptionalTransformIntoNegativeSpace |
Optional transform from space of the convex hulls into the space of the sphere covering; if not provided, assume spheres are in the same coordinate space as the hulls. |
 |
int32 |
TargetNumParts |
Desired number of output parts. |