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