Navigation
API > API/Plugins > API/Plugins/GeometryAlgorithms > API/Plugins/GeometryAlgorithms/TMinVolumeBox3
References
| Module | GeometryAlgorithms |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/GeometryAlgorithms/Public/MinVolumeBox3.h |
| Include | #include "MinVolumeBox3.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/GeometryAlgorithms/Private/MinVolumeBox3.cpp |
bool Solve
(
int32 NumPoints,
TFunctionRef < TVector < RealType >)> GetPointFunc,
bool bMostAccurateFit,
FProgressCancel * Progress
)
Remarks
Calculate the minimal box for the given point set. true if minimal box was found
Parameters
| Name | Description |
|---|---|
| NumPoints | number of points in the set, ie GetPointFunc can be called for any integer in range [0...NumPoints) |
| GetPointFunc | function that returns a 3D point for a valid Index |
| bMostAccurateFit | if true, use the most expensive method to get the best-possible fit |
| Progress | optionally allow early-cancel of the box fit operation |