Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/Operations
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/MeshConvexHull.h |
| Include | #include "Operations/MeshConvexHull.h" |
Syntax
class FMeshConvexHull
Remarks
Calculate Convex Hull of a Mesh
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bPostSimplify | If true, output convex hull is simplified down to MaxTargetFaceCount | |
| FDynamicMesh3 | ConvexHull | Output convex hull | |
| int32 | MaxTargetFaceCount | Target triangle count of the output Convex Hull | |
| const FDynamicMesh3 * | Mesh | Input Mesh | |
| double | MinDimension | Minimum extent along the shortest dimension; if greater than zero, the hull may be expanded if it would be too thin | |
| TArray< int32 > | VertexSet | If set, hull will be computed on subset of vertices |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMeshConvexHull
(
const FDynamicMesh3* MeshIn |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Compute
(
FProgressCancel* Progress |
Calculate output ConvexHull mesh for vertices of input Mesh | |
| bool | Compute_FullMesh
(
FProgressCancel* Progress |
||
| bool | Compute_VertexSubset
(
FProgressCancel* Progress |
||
| FVector3i | DebugGetCellIndex
(
const FDynamicMesh3& Mesh, |
Used for testing/debugging | |
| void | GridSample
(
const FDynamicMesh3& Mesh, |
Choose a more or less evenly-spaced subset of mesh vertices. | |
| bool | SimplifyHull
(
FDynamicMesh3& HullMesh, |
Simplify the output convex hull. Assumes ConvexHull is already computed. |