Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/CompGeom
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/CompGeom/FitOrientedBox3.h |
| Include | #include "CompGeom/FitOrientedBox3.h" |
namespace UE
{
namespace Geometry
{
template<typename RealType>
TOrientedBox3< RealType > UE&58;&58;Geometry&58;&58;FitOrientedBox3Points
&40;
TArrayView< const TVector< RealType >> Points,
EBox3FitCriteria FitMethod,
RealType SameNormalTolerance,
FProgressCancel &42; ProgressCancel
&41;
}
}
Remarks
Compute a close-fitting oriented bounding box to the given points. Relatively expensive; for a faster approximation use DiTOrientedBox.h's ComputeOrientedBBox A best-fit TOrientedBox3 that contains the points
Parameters
| Name | Description |
|---|---|
| Points | The points to fit |
| FitMethod | What criteria to optimize |
| SameNormalTolerance | Tolerance for considering normals the same when choosing projection directions. If > 0, can save some computation if the convex hull is very large. |