Navigation
API > API/Plugins > API/Plugins/GeometryAlgorithms
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. Note that this is increasingly expensive as the Convex Hull face count increases.
| Name | TMinVolumeBox3 |
| Type | class |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/GeometryAlgorithms/Public/MinVolumeBox3.h |
| Include Path | #include "MinVolumeBox3.h" |
Syntax
template<typename RealType>
class TMinVolumeBox3
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GetResult
(
TOrientedBox3< RealType >& BoxOut |
MinVolumeBox3.h | ||
bool IsSolutionAvailable() |
MinVolumeBox3.h | ||
bool Solve
(
int32 NumPoints, |
Calculate the minimal box for the given point set. | MinVolumeBox3.h | |
bool SolveSubsample
(
int32 NumPoints, |
Calculate the minimal box for a Subsampling of MaxPoints points of a point set | MinVolumeBox3.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Initialize
(
bool bMostAccurateFit |
MinVolumeBox3.h |