Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
TBounds< T > Struct Template Reference

#include <Bounds.h>

Public Types

template<typename U >
using TVector = UE::Math::TVector<U>
 
template<typename U >
using TVector4 = UE::Math::TVector4<U>
 
using FReal = T
 

Public Member Functions

FORCEINLINE TBounds< T > & operator= (const TVector< T > &Other)
 
FORCEINLINE TBounds< T > & operator+= (const TVector< T > &Other)
 
FORCEINLINE TBounds< T > & operator+= (const TBounds< T > &Other)
 
FORCEINLINE TBounds< Toperator+ (const TBounds< T > &Other) const
 
FORCEINLINE bool Intersect (const TBounds< T > &Other) const
 
FORCEINLINE bool Contains (const TBounds< T > &Other) const
 
FORCEINLINE T DistSqr (const TVector< T > &Point) const
 
FORCEINLINE TVector< TGetCenter () const
 
FORCEINLINE TVector< TGetExtent () const
 
FORCEINLINE T GetSurfaceArea () const
 
template<typename U >
FORCEINLINE auto ToAbsolute (const TVector< U > &Offset) const
 
template<typename U >
FORCEINLINE TBounds< floatToRelative (const TVector< U > &Offset) const
 

Public Attributes

TVector4< TMin = TVector4<T>( TNumericLimits<T>::Max(), TNumericLimits<T>::Max(), TNumericLimits<T>::Max() )
 
TVector4< TMax = TVector4<T>( -TNumericLimits<T>::Max(), -TNumericLimits<T>::Max(), -TNumericLimits<T>::Max() )
 

Friends

FORCEINLINE friend FArchiveoperator<< (FArchive &Ar, TBounds< T > &Bounds)
 

Detailed Description

template<typename T>
struct TBounds< T >

Definition at line 11 of file Bounds.h.

Member Typedef Documentation

◆ FReal

template<typename T >
using TBounds< T >::FReal = T

Definition at line 15 of file Bounds.h.

◆ TVector

template<typename T >
template<typename U >
using TBounds< T >::TVector = UE::Math::TVector<U>

Definition at line 13 of file Bounds.h.

◆ TVector4

template<typename T >
template<typename U >
using TBounds< T >::TVector4 = UE::Math::TVector4<U>

Definition at line 14 of file Bounds.h.

Member Function Documentation

◆ Contains()

template<typename T >
FORCEINLINE bool TBounds< T >::Contains ( const TBounds< T > & Other) const
inline

Definition at line 55 of file Bounds.h.

◆ DistSqr()

template<typename T >
FORCEINLINE T TBounds< T >::DistSqr ( const TVector< T > & Point) const
inline

Definition at line 62 of file Bounds.h.

◆ GetCenter()

template<typename T >
FORCEINLINE TVector< T > TBounds< T >::GetCenter ( ) const
inline

Definition at line 71 of file Bounds.h.

◆ GetExtent()

template<typename T >
FORCEINLINE TVector< T > TBounds< T >::GetExtent ( ) const
inline

Definition at line 76 of file Bounds.h.

◆ GetSurfaceArea()

template<typename T >
FORCEINLINE T TBounds< T >::GetSurfaceArea ( ) const
inline

Definition at line 81 of file Bounds.h.

◆ Intersect()

template<typename T >
FORCEINLINE bool TBounds< T >::Intersect ( const TBounds< T > & Other) const
inline

Definition at line 46 of file Bounds.h.

◆ operator+()

template<typename T >
FORCEINLINE TBounds< T > TBounds< T >::operator+ ( const TBounds< T > & Other) const
inline

Definition at line 41 of file Bounds.h.

◆ operator+=() [1/2]

template<typename T >
FORCEINLINE TBounds< T > & TBounds< T >::operator+= ( const TBounds< T > & Other)
inline

Definition at line 34 of file Bounds.h.

◆ operator+=() [2/2]

template<typename T >
FORCEINLINE TBounds< T > & TBounds< T >::operator+= ( const TVector< T > & Other)
inline

Definition at line 27 of file Bounds.h.

◆ operator=()

template<typename T >
FORCEINLINE TBounds< T > & TBounds< T >::operator= ( const TVector< T > & Other)
inline

Definition at line 20 of file Bounds.h.

◆ ToAbsolute()

template<typename T >
template<typename U >
FORCEINLINE auto TBounds< T >::ToAbsolute ( const TVector< U > & Offset) const
inline

Definition at line 88 of file Bounds.h.

◆ ToRelative()

template<typename T >
template<typename U >
FORCEINLINE TBounds< float > TBounds< T >::ToRelative ( const TVector< U > & Offset) const
inline

Definition at line 99 of file Bounds.h.

Friends And Related Symbol Documentation

◆ operator<<

template<typename T >
FORCEINLINE friend FArchive & operator<< ( FArchive & Ar,
TBounds< T > & Bounds )
friend

Definition at line 109 of file Bounds.h.

Member Data Documentation

◆ Max

template<typename T >
TVector4<T> TBounds< T >::Max = TVector4<T>( -TNumericLimits<T>::Max(), -TNumericLimits<T>::Max(), -TNumericLimits<T>::Max() )

Definition at line 18 of file Bounds.h.

◆ Min

Definition at line 17 of file Bounds.h.


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