FMeshConvexHull

Calculate Convex Hull of a Mesh

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/Operations/MeshConvexHull.h

Include

#include "Operations/MeshConvexHull.h"

Syntax

class FMeshConvexHull

Remarks

Calculate Convex Hull of a Mesh

Variables

Name Description

Public variable

bool

 

bPostSimplify

If true, output convex hull is simplified down to MaxTargetFaceCount

Public variable

FDynamicMesh3

 

ConvexHull

Output convex hull

Public variable

int32

 

MaxTargetFaceCount

Target triangle count of the output Convex Hull

Public variable

const FDynamicM...

 

Mesh

Input Mesh

Public variable

TArray< int32 >

 

VertexSet

If set, hull will be computed on subset of vertices

Constructors

Name Description

Public function

FMeshConvexHull

(
    const FDynamicMesh3* MeshIn
)

Functions

Name Description

Public function

bool

 

Compute()

Calculate output ConvexHull mesh for vertices of input Mesh

Protected function

bool

 

Compute_FullMesh()

Protected function

bool

 

Compute_VertexSubset()

Public function Static

FVector3i

 

DebugGetCellIndex

(
    const FDynamicMesh3& Mesh,
    int GridResolutionMaxAxis,
    int VertexIndex
)

Used for testing/debugging

Public function Static

void

 

GridSample

(
    const FDynamicMesh3& Mesh,
    int GridResolutionMaxAxis,
    TArray< int32 >& OutSamples
)

Choose a more or less evenly-spaced subset of mesh vertices.

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