FMeshProjectionHull

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.

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/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

Name Description

Public variable

bool

 

bSimplifyPolygon

If true, 2D convex hull is simplified using MinEdgeLength and DeviationTolerance

Public variable

FPolygon2d

 

ConvexHull2D

Calculated convex hull polygon

Public variable

FDynamicMesh3

 

ConvexHull3D

Output swept-polygon convex hull

Public variable

double

 

DeviationTolerance

Deviation Tolerance of the simplified 2D Convex Hull

Public variable

const FDynamicM...

 

Mesh

Input Mesh

Public variable

double

 

MinEdgeLength

Minimum Edge Length of the simplified 2D Convex Hull

Public variable

double

 

MinThickness

Minimum thickness of extrusion.

Public variable

FFrame3d

 

ProjectionFrame

Input 3D Frame/Plane

Public variable

FPolygon2d

 

SimplifiedHull2D

Simplified convex hull polygon. Not initialized if bSimplifyPolygon == false

Constructors

Name Description

Public function

FMeshProjectionHull

(
    const FDynamicMesh3* MeshIn
)

Functions

Name Description

Public function

bool

 

Compute()

Calculate output 2D Convex Polygon and Swept-Polygon 3D Mesh for vertices of input Mesh

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss