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 SolveSubsample
&40;
int32 NumPoints,
int32 NumSamplePoints,
TFunctionRef< TVector< RealType >(int32)> GetPointFunc,
bool bMostAccurateFit,
FProgressCancel &42; Progress
&41;
Remarks
Calculate the minimal box for a Subsampling of MaxPoints points of a 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) |
| NumSamplePoints | maximum number of points to sample from NumPoints. Currently a random-ish subset is selected. |
| 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 |