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::Geometry::FitOrientedBox3Points
(
TArrayView < const TVector < RealType > > Points,
EBox3FitCriteria FitMethod,
RealType SameNormalTolerance,
FProgressCancel * ProgressCancel
)
}
}
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. |