TMinVolumeBox3

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

Choose your operating system:

Windows

macOS

Linux

References

Module

GeometryAlgorithms

Header

/Engine/Plugins/Runtime/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< TVector< RealType >(i...,
    bool bUseExactBox,
    FProgressCancel* Progress
)

Calculate the minimal box for the given point set.

Public function

bool

 

SolveSubsample

(
    int32 NumPoints,
    int32 NumSamplePoints,
    TFunctionRef< TVector< RealType >(i...,
    bool bUseExactBox,
    FProgressCancel* Progress
)

Calculate the minimal box for a Subsampling of MaxPoints points of a point set