Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/CompGeom > API/Runtime/GeometryCore/CompGeom/FConvexDecomposition3
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/CompGeom/ConvexDecomposition3.h |
| Include | #include "CompGeom/ConvexDecomposition3.h" |
Syntax
struct FProximity
Remarks
Edge in a graph of merge candidates, indicating which Decomposition parts could be merged together Note a proximity link does not guarantee that the geometry (or convex hulls) are touching
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsValidLink | Whether this merge can be allowed (e.g. has not been ruled out by negative space) | |
| bool | bPlaneSeparates | Whether the geometry is separated by Plane. | |
| FIndex2i | Link | ||
| double | MergedVolume | What the volume of the convex hull would be if we merged these two parts. | |
| FPlane3d | Plane | The shared plane between the two hulls (because adjacent hulls are formed by planar cuts in the splitting step) Note: Plane becomes invalid in the merge-up phase; it is used to accelerate filtering in the split-down phase |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FProximity () |
|||
FProximity
(
const FIndex2i& Link, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| double | GetMergeCost
(
const TIndirectArray< FConvexPart >& DecompositionIn |
||
| bool | |||
| constexpr double |