UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FitOrientedBox3.h File Reference
#include "CoreMinimal.h"
#include "Math/Vector.h"
#include "VectorTypes.h"
#include "OrientedBoxTypes.h"

Go to the source code of this file.

Namespaces

namespace  UE
 
namespace  UE::Geometry
 

Enumerations

enum  UE::Geometry::EBox3FitCriteria { UE::Geometry::Volume , UE::Geometry::SurfaceArea }
 

Functions

template<typename RealType >
TOrientedBox3< RealType > GEOMETRYCORE_API UE::Geometry::FitOrientedBox3Points (int32 NumPoints, TFunctionRef< TVector< RealType >(int32)> GetPointFunc, TFunctionRef< bool(int32)> Filter, EBox3FitCriteria FitMethod=EBox3FitCriteria::Volume, RealType SameNormalTolerance=0, FProgressCancel *ProgressCancel=nullptr)
 
template<typename RealType >
TOrientedBox3< RealType > UE::Geometry::FitOrientedBox3Points (TArrayView< const TVector< RealType > > Points, EBox3FitCriteria FitMethod=EBox3FitCriteria::Volume, RealType SameNormalTolerance=0, FProgressCancel *ProgressCancel=nullptr)
 
template<typename RealType >
TOrientedBox3< RealType > GEOMETRYCORE_API UE::Geometry::OptimizeOrientedBox3Points (const TOrientedBox3< RealType > &InitialBox, int32 NumIterations, int32 NumPoints, TFunctionRef< TVector< RealType >(int32)> GetPointFunc, TFunctionRef< bool(int32)> Filter, EBox3FitCriteria FitMethod=EBox3FitCriteria::Volume, FProgressCancel *ProgressCancel=nullptr)