UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Geometry::TInterval1< RealType > Struct Template Reference

#include <BoxTypes.h>

Public Member Functions

 TInterval1 ()
 
 TInterval1 (const RealType &Min, const RealType &Max)
 
RealType Center () const
 
RealType Extent () const
 
RealType Length () const
 
RealType MaxAbsExtrema () const
 
void Contain (const RealType &V)
 
void Contain (const TInterval1< RealType > &O)
 
bool Contains (RealType D) const
 
bool Contains (const TInterval1< RealType > &O) const
 
bool Overlaps (const TInterval1< RealType > &O) const
 
RealType SquaredDist (const TInterval1< RealType > &O) const
 
RealType Dist (const TInterval1< RealType > &O) const
 
TInterval1< RealType > IntersectionWith (const TInterval1< RealType > &O) const
 
RealType Clamp (RealType f) const
 
RealType Interpolate (RealType T) const
 
RealType GetT (RealType Value) const
 
RealType GetUnclampedT (RealType Value) const
 
void Set (TInterval1 O)
 
void Set (RealType A, RealType B)
 
TInterval1 operator- (TInterval1 V) const
 
TInterval1 operator+ (RealType f) const
 
TInterval1 operator- (RealType f) const
 
TInterval1 operator* (RealType f) const
 
bool IsEmpty () const
 
void Expand (RealType Radius)
 

Static Public Member Functions

static TInterval1< RealType > Empty ()
 
static TInterval1< RealType > MakeFromUnordered (const RealType &A, const RealType &B)
 

Public Attributes

RealType Min
 
RealType Max
 

Constructor & Destructor Documentation

◆ TInterval1() [1/2]

template<typename RealType >
UE::Geometry::TInterval1< RealType >::TInterval1 ( )
inline

◆ TInterval1() [2/2]

template<typename RealType >
UE::Geometry::TInterval1< RealType >::TInterval1 ( const RealType &  Min,
const RealType &  Max 
)
inline

Member Function Documentation

◆ Center()

template<typename RealType >
RealType UE::Geometry::TInterval1< RealType >::Center ( ) const
inline

◆ Clamp()

template<typename RealType >
RealType UE::Geometry::TInterval1< RealType >::Clamp ( RealType  f) const
inline

clamp Value f to interval [Min,Max]

◆ Contain() [1/2]

template<typename RealType >
void UE::Geometry::TInterval1< RealType >::Contain ( const RealType &  V)
inline

◆ Contain() [2/2]

template<typename RealType >
void UE::Geometry::TInterval1< RealType >::Contain ( const TInterval1< RealType > &  O)
inline

◆ Contains() [1/2]

template<typename RealType >
bool UE::Geometry::TInterval1< RealType >::Contains ( const TInterval1< RealType > &  O) const
inline

◆ Contains() [2/2]

template<typename RealType >
bool UE::Geometry::TInterval1< RealType >::Contains ( RealType  D) const
inline

◆ Dist()

template<typename RealType >
RealType UE::Geometry::TInterval1< RealType >::Dist ( const TInterval1< RealType > &  O) const
inline

◆ Empty()

template<typename RealType >
static TInterval1< RealType > UE::Geometry::TInterval1< RealType >::Empty ( )
inlinestatic

◆ Expand()

template<typename RealType >
void UE::Geometry::TInterval1< RealType >::Expand ( RealType  Radius)
inline

◆ Extent()

template<typename RealType >
RealType UE::Geometry::TInterval1< RealType >::Extent ( ) const
inline

◆ GetT()

template<typename RealType >
RealType UE::Geometry::TInterval1< RealType >::GetT ( RealType  Value) const
inline

Convert Value into (clamped) T Value in range [0,1]

◆ GetUnclampedT()

template<typename RealType >
RealType UE::Geometry::TInterval1< RealType >::GetUnclampedT ( RealType  Value) const
inline

Convert Value into T Value.

◆ Interpolate()

template<typename RealType >
RealType UE::Geometry::TInterval1< RealType >::Interpolate ( RealType  T) const
inline

interpolate between Min and Max using Value T in range [0,1]

◆ IntersectionWith()

template<typename RealType >
TInterval1< RealType > UE::Geometry::TInterval1< RealType >::IntersectionWith ( const TInterval1< RealType > &  O) const
inline

◆ IsEmpty()

template<typename RealType >
bool UE::Geometry::TInterval1< RealType >::IsEmpty ( ) const
inline

◆ Length()

template<typename RealType >
RealType UE::Geometry::TInterval1< RealType >::Length ( ) const
inline

◆ MakeFromUnordered()

template<typename RealType >
static TInterval1< RealType > UE::Geometry::TInterval1< RealType >::MakeFromUnordered ( const RealType &  A,
const RealType &  B 
)
inlinestatic

◆ MaxAbsExtrema()

template<typename RealType >
RealType UE::Geometry::TInterval1< RealType >::MaxAbsExtrema ( ) const
inline

◆ operator*()

template<typename RealType >
TInterval1 UE::Geometry::TInterval1< RealType >::operator* ( RealType  f) const
inline

◆ operator+()

template<typename RealType >
TInterval1 UE::Geometry::TInterval1< RealType >::operator+ ( RealType  f) const
inline

◆ operator-() [1/2]

template<typename RealType >
TInterval1 UE::Geometry::TInterval1< RealType >::operator- ( RealType  f) const
inline

◆ operator-() [2/2]

template<typename RealType >
TInterval1 UE::Geometry::TInterval1< RealType >::operator- ( TInterval1< RealType >  V) const
inline

◆ Overlaps()

template<typename RealType >
bool UE::Geometry::TInterval1< RealType >::Overlaps ( const TInterval1< RealType > &  O) const
inline

◆ Set() [1/2]

template<typename RealType >
void UE::Geometry::TInterval1< RealType >::Set ( RealType  A,
RealType  B 
)
inline

◆ Set() [2/2]

template<typename RealType >
void UE::Geometry::TInterval1< RealType >::Set ( TInterval1< RealType >  O)
inline

◆ SquaredDist()

template<typename RealType >
RealType UE::Geometry::TInterval1< RealType >::SquaredDist ( const TInterval1< RealType > &  O) const
inline

Member Data Documentation

◆ Max

template<typename RealType >
RealType UE::Geometry::TInterval1< RealType >::Max

◆ Min

template<typename RealType >
RealType UE::Geometry::TInterval1< RealType >::Min

The documentation for this struct was generated from the following file: