Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/Operations
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/MeshProjectionHull.h |
| Include | #include "Operations/MeshProjectionHull.h" |
Syntax
class FMeshProjectionHull
Remarks
Calculate a Convex Hull for a Mesh by first Projecting all vertices to a plane, computing a 2D convex polygon that contains them, and then sweeping that 2D hull to create an extruded 3D volume.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bSimplifyPolygon | If true, 2D convex hull is simplified using MinEdgeLength and DeviationTolerance | |
| FPolygon2d | ConvexHull2D | Calculated convex hull polygon | |
| FDynamicMesh3 | ConvexHull3D | Output swept-polygon convex hull | |
| double | DeviationTolerance | Deviation Tolerance of the simplified 2D Convex Hull | |
| EKeep3DHullSide | Keep3DHullSide | Whether to conform to the 3D convex hull surface on the front or back side of the sweep, or to use a flat surface on both sides of the swept hull | |
| const FDynamicMesh3 * | Mesh | Input Mesh | |
| double | MinEdgeLength | Minimum Edge Length of the simplified 2D Convex Hull | |
| double | MinThickness | Minimum thickness of extrusion. | |
| FFrame3d | ProjectionFrame | Input 3D Frame/Plane | |
| FPolygon2d | SimplifiedHull2D | Simplified convex hull polygon. Not initialized if bSimplifyPolygon == false |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMeshProjectionHull
(
const FDynamicMesh3* MeshIn |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Compute () |
Calculate output 2D Convex Polygon and Swept-Polygon 3D Mesh for vertices of input Mesh |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EKeep3DHullSide |