TMinVolumeBox3

Calculate a Minimal-Volume Oriented Box for a set of 3D points.

Windows
MacOS
Linux

References

Module

GeometryAlgorithms

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometryAlgorithms/Public/MinVolumeBox3.h

Include

#include "MinVolumeBox3.h"

Syntax

template<typename RealType>
class TMinVolumeBox3

Remarks

Calculate a Minimal-Volume Oriented Box for a set of 3D points. This internally first computes the Convex Hull of the point set. The minimal box is then guaranteed to be aligned with one of the faces of the convex hull.

that this is increasingly expensive as the Convex Hull face count increases.

Variables

Name Description

Protected variable

TPimplPtr< TMin...

 

Internal

Functions

Name Description

Public function

void

 

GetResult

(
    TOrientedBox3< RealType >& BoxOut
)

Protected function

void

 

Initialize

(
    int32 NumPoints,
    bool bUseExactBox
)

Public function Const

bool

 

IsSolutionAvailable()

Public function

bool

 

Solve

(
    int32 NumPoints,
    TFunctionRef< FVector3< RealType >(...,
    bool bUseExactBox,
    FProgressCancel* Progress
)

Calculate the minimal box for the given point set.

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