UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SplineMath.h File Reference
#include "CoreMinimal.h"
#include "SplineInterfaces.h"
#include "ParameterizedTypes.h"
#include <cstdint>
#include <limits>

Go to the source code of this file.

Classes

struct  UE::Geometry::Spline::Math::FSplineValidation
 
struct  UE::Geometry::Spline::Math::TGenericDerivativeHelper< T, Order >
 
struct  UE::Geometry::Spline::Math::TBSplineDerivativeCalculator< T, DerivOrder >
 
struct  UE::Geometry::Spline::Math::TBSplineDerivativeCalculator< T, 0 >
 
struct  UE::Geometry::Spline::Math::TBezierDerivativeCalculator< T, Order >
 

Namespaces

namespace  UE
 
namespace  UE::Geometry
 
namespace  UE::Geometry::Spline
 
namespace  UE::Geometry::Spline::Internal
 
namespace  UE::Geometry::Spline::Param
 
namespace  UE::Geometry::Spline::Math
 

Enumerations

enum class  UE::Geometry::Spline::Param::EDir : uint8 { UE::Geometry::Spline::Param::Left , UE::Geometry::Spline::Param::Right }
 

Functions

uint32 UE::Geometry::Spline::Internal::FloatToBits (float f)
 
float UE::Geometry::Spline::Internal::BitsToFloat (uint32 u)
 
uint32 UE::Geometry::Spline::Internal::ToOrdered (float f)
 
float UE::Geometry::Spline::Internal::FromOrdered (uint32 ordered)
 
float UE::Geometry::Spline::Internal::NextafterNoSubnormal (float from, bool bStepRight)
 
float UE::Geometry::Spline::Internal::NormalizeZeroForKey (float v)
 
float UE::Geometry::Spline::Param::NextDistinct (float t)
 
float UE::Geometry::Spline::Param::PrevDistinct (float t)
 
float UE::Geometry::Spline::Param::Step (float t, EDir d)
 
float UE::Geometry::Spline::Param::StepInside (float t, EDir d, const FInterval1f &bounds)
 
float UE::Geometry::Spline::Param::NormalizeKey (float t)
 
template<typename T >
double UE::Geometry::Spline::Math::Size (const T &Value)
 
template<typename T >
double UE::Geometry::Spline::Math::SizeSquared (const T &Value)
 
template<typename T >
double UE::Geometry::Spline::Math::Distance (const T &A, const T &B)
 
template<typename T >
double UE::Geometry::Spline::Math::CentripetalDistance (const T &A, const T &B)
 
template<typename T >
double UE::Geometry::Spline::Math::Dot (const T &A, const T &B)
 
template<typename T >
UE::Geometry::Spline::Math::GetSafeNormal (const T &Value)
 
template<typename T >
bool UE::Geometry::Spline::Math::Equals (const T &A, const T &B, float Tolerance=UE_KINDA_SMALL_NUMBER)
 
template<int32 N>
const TArray< double > & UE::Geometry::Spline::Math::GetFactorialTable ()
 
template<int32 N>
const TArray< TArray< double > > & UE::Geometry::Spline::Math::GetBinomialTable ()
 
template<typename ValueType >
float UE::Geometry::Spline::Math::FindNearestPoint_Cubic (const TArrayView< ValueType > Coeffs, float StartParam, float EndParam, float &OutSquaredDistance)
 
template<typename ValueType >
ValueType UE::Geometry::Spline::Math::ComputeFirstDerivativeCentralDifference (const TSplineInterface< ValueType > &Spline, double Param, double Step=UE_KINDA_SMALL_NUMBER)
 
template<typename ValueType >
ValueType UE::Geometry::Spline::Math::ComputeSecondDerivativeCentralDifference (const TSplineInterface< ValueType > &Spline, double Param, double Step=0.1)