UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FitOrientedBox2.cpp File Reference
#include "CompGeom/FitOrientedBox2.h"
#include "Containers/Array.h"
#include "Math/Vector.h"
#include "OrientedBoxTypes.h"
#include "VectorTypes.h"
#include "IndexTypes.h"
#include "MathUtil.h"
#include "CompGeom/ConvexHull2.h"
#include "CompGeom/ExactPredicates.h"

Namespaces

namespace  UE
 
namespace  UE::Geometry
 

Functions

template<typename RealType >
TOrientedBox2< RealType > UE::Geometry::FitOrientedBox2ConvexHull (int32 NumPts, TFunctionRef< TVector2< RealType >(int32)> GetHullPt, TFunctionRef< RealType(RealType, RealType)> FitFn)
 
template<typename RealType >
TOrientedBox2< RealType > UE::Geometry::FitOrientedBox2SimplePolygon (TArrayView< const TVector2< RealType > > Polygon, TFunctionRef< RealType(RealType, RealType)> FitFn)
 
template<typename RealType >
TOrientedBox2< RealType > UE::Geometry::FitOrientedBox2Points (TArrayView< const TVector2< RealType > > Points, TFunctionRef< RealType(RealType, RealType)> FitFn)
 
template TOrientedBox2< float > GEOMETRYCORE_API UE::Geometry::FitOrientedBox2Points< float > (TArrayView< const TVector2< float > > Points, TFunctionRef< float(float, float)> FitFn)
 
template TOrientedBox2< double > GEOMETRYCORE_API UE::Geometry::FitOrientedBox2Points< double > (TArrayView< const TVector2< double > > Points, TFunctionRef< double(double, double)> FitFn)
 
template TOrientedBox2< float > GEOMETRYCORE_API UE::Geometry::FitOrientedBox2SimplePolygon< float > (TArrayView< const TVector2< float > > Points, TFunctionRef< float(float, float)> FitFn)
 
template TOrientedBox2< double > GEOMETRYCORE_API UE::Geometry::FitOrientedBox2SimplePolygon< double > (TArrayView< const TVector2< double > > Points, TFunctionRef< double(double, double)> FitFn)
 
template TOrientedBox2< float > GEOMETRYCORE_API UE::Geometry::FitOrientedBox2ConvexHull< float > (int32 NumPts, TFunctionRef< TVector2< float >(int32)> GetHullPt, TFunctionRef< float(float, float)> FitFn)
 
template TOrientedBox2< double > GEOMETRYCORE_API UE::Geometry::FitOrientedBox2ConvexHull< double > (int32 NumPts, TFunctionRef< TVector2< double >(int32)> GetHullPt, TFunctionRef< double(double, double)> FitFn)