HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_Vector4T< T > Class Template Reference

4D Vector class. More...

#include <UT_Vector4.h>

Public Types

typedef T value_type
 

Public Member Functions

constexpr SYS_FORCE_INLINE UT_Vector4T ()=default
 
constexpr SYS_FORCE_INLINE UT_Vector4T (const UT_Vector4T< T > &that)=default
 
constexpr SYS_FORCE_INLINE UT_Vector4T (UT_Vector4T< T > &&that)=default
 
constexpr SYS_FORCE_INLINE UT_Vector4T (const T vx, const T vy, const T vz, const T vw=1.0f)
 
constexpr SYS_FORCE_INLINE UT_Vector4T (const fpreal32 v[]) noexcept
 
constexpr SYS_FORCE_INLINE UT_Vector4T (const fpreal64 v[]) noexcept
 
constexpr SYS_FORCE_INLINE UT_Vector4T (const int32 v[]) noexcept
 
constexpr SYS_FORCE_INLINE UT_Vector4T (const int64 v[]) noexcept
 
SYS_FORCE_INLINE constexpr UT_Vector4T (const UT_Vector2T< T > &v) noexcept
 
constexpr UT_Vector4T (const UT_Vector3T< T > &v, T w=1.f) noexcept
 
template<typename S >
constexpr SYS_FORCE_INLINE UT_Vector4T (const UT_Vector4T< S > &v) noexcept
 Our own type of any given value_type. More...
 
constexpr SYS_FORCE_INLINE UT_Vector4T (const UT_FixedVector< T, tuple_size > &v) noexcept
 UT_FixedVector of the same size. More...
 
SYS_FORCE_INLINE UT_Vector4T< T > & operator= (const UT_Vector4T< T > &that)=default
 
SYS_FORCE_INLINE UT_Vector4T< T > & operator= (UT_Vector4T< T > &&that)=default
 
template<typename S >
SYS_FORCE_INLINE UT_Vector4T< T > & operator= (const UT_Vector4T< S > &v)
 
constexpr SYS_FORCE_INLINE
const T
data () const noexcept
 
constexpr SYS_FORCE_INLINE Tdata () noexcept
 
constexpr SYS_FORCE_INLINE
const T
operator[] (exint i) const noexcept
 
constexpr SYS_FORCE_INLINE Toperator[] (exint i) noexcept
 
constexpr SYS_FORCE_INLINE
UT_Vector4T
operator+= (const UT_Vector4T &a) noexcept
 
constexpr SYS_FORCE_INLINE
UT_Vector4T
operator-= (const UT_Vector4T &a) noexcept
 
constexpr SYS_FORCE_INLINE
UT_Vector4T
operator*= (const T &a) noexcept
 
constexpr SYS_FORCE_INLINE
UT_Vector4T
operator/= (const T &a) noexcept
 
constexpr SYS_FORCE_INLINE
UT_Vector4T
operator*= (const UT_Vector4T &a) noexcept
 
constexpr SYS_FORCE_INLINE void negate () noexcept
 
constexpr SYS_FORCE_INLINE T length2 () const noexcept
 
constexpr SYS_FORCE_INLINE T length () const noexcept
 
constexpr SYS_FORCE_INLINE T distance2 (const UT_Vector4T &b) const noexcept
 
constexpr SYS_FORCE_INLINE T distance (const UT_Vector4T &b) const noexcept
 
SYS_FORCE_INLINE
UT_StorageMathFloat_t< T
normalize () noexcept
 
constexpr SYS_FORCE_INLINE bool isZero () const noexcept
 
constexpr SYS_FORCE_INLINE
UT_Vector4T
operator= (const T a) noexcept
 
UT_Vector4T< T > & operator= (const UT_Vector3T< T > &v)
 
int equalZero3 (T tol=0.00001f) const
 
void clampZero (T tol=0.00001f)
 
void clampZero3 (T tol=0.00001f)
 
void negate3 ()
 
void multiplyComponents (const UT_Vector4T< T > &v)
 
constexpr SYS_FORCE_INLINE bool isFinite () const noexcept
 
constexpr SYS_FORCE_INLINE bool equalZero (const T tolerance=SYS_FTOLERANCE) const noexcept
 
constexpr SYS_FORCE_INLINE bool isEqual (const UT_Vector4T &b, const T tolerance=SYS_FTOLERANCE) const noexcept
 
constexpr SYS_FORCE_INLINE T maxComponent () const noexcept
 
constexpr SYS_FORCE_INLINE T minComponent () const noexcept
 
constexpr SYS_FORCE_INLINE T avgComponent () const noexcept
 
int isEqual (const UT_Vector3T< T > &vect, T tol=0.00001f) const
 
constexpr SYS_FORCE_INLINE T dot (const UT_Vector4T &b) const noexcept
 
unsigned hash () const
 Compute a hash. More...
 
void assign (T xx=0.0f, T yy=0.0f, T zz=0.0f, T ww=1.0f)
 Set the values of the vector components. More...
 
void assign (const T *v, int size=tuple_size)
 Set the values of the vector components. More...
 
void save (std::ostream &os, int binary=0) const
 
bool load (UT_IStream &is)
 
template<typename S >
void rowVecMult (const UT_Matrix4T< S > &m)
 
template<typename S >
void colVecMult (const UT_Matrix4T< S > &m)
 
template<typename S >
void rowVecMult3 (const UT_Matrix4T< S > &m)
 
template<typename S >
UT_Vector4T< T > & operator*= (const UT_Matrix4T< S > &mat)
 
template<typename S >
void multiply3 (const UT_Matrix4T< S > &mat)
 
template<typename S >
void multiply3 (UT_Vector4T< T > &dest, const UT_Matrix4T< S > &mat) const
 
int findMinAbsAxis () const
 These allow you to find out what indices to use for different axes. More...
 
int findMaxAbsAxis () const
 These allow you to find out what indices to use for different axes. More...
 
Tx ()
 
constexpr T x () const noexcept
 
Ty ()
 
constexpr T y () const noexcept
 
Tz ()
 
constexpr T z () const noexcept
 
Tw ()
 
constexpr T w () const noexcept
 
Toperator() (unsigned i)
 
T operator() (unsigned i) const
 
void homogenize ()
 Express the point in homogeneous coordinates or vice-versa. More...
 
void dehomogenize ()
 Express the point in homogeneous coordinates or vice-versa. More...
 
bool save (UT_JSONWriter &w) const
 
bool save (UT_JSONValue &v) const
 
bool load (UT_JSONParser &p)
 

Static Public Member Functions

static int entries ()
 Returns the vector size. More...
 

Public Attributes

T vec [tuple_size]
 

Static Public Attributes

static constexpr int tuple_size = 4
 

Friends

constexpr bool isZero (const UT_Vector4T &a) noexcept
 
constexpr T dot (const UT_Vector4T &a, const UT_Vector4T &b) noexcept
 
constexpr T length2 (const UT_Vector4T &a) noexcept
 
constexpr T distance2 (const UT_Vector4T &a, const UT_Vector4T &b) noexcept
 
constexpr bool operator== (const UT_Vector4T &a, const UT_Vector4T &b) noexcept
 
constexpr bool operator!= (const UT_Vector4T &a, const UT_Vector4T &b) noexcept
 
constexpr bool operator< (const UT_Vector4T &a, const UT_Vector4T &b) noexcept
 
constexpr bool operator<= (const UT_Vector4T &a, const UT_Vector4T &b) noexcept
 
constexpr bool operator> (const UT_Vector4T &a, const UT_Vector4T &b) noexcept
 
constexpr bool operator>= (const UT_Vector4T &a, const UT_Vector4T &b) noexcept
 
std::ostream & operator<< (std::ostream &os, const UT_Vector4T< T > &v)
 I/O friends. More...
 

Detailed Description

template<typename T>
class UT_Vector4T< T >

4D Vector class.

Examples:
COP2/COP2_SampleGenerator.h, and tetprim/GEO_PrimTetra.h.

Definition at line 172 of file UT_Vector4.h.

Member Typedef Documentation

template<typename T>
typedef T UT_Vector4T< T >::value_type

Definition at line 175 of file UT_Vector4.h.

Constructor & Destructor Documentation

template<typename T>
constexpr SYS_FORCE_INLINE UT_Vector4T< T >::UT_Vector4T ( )
default

Default constructor. No data is initialized! Use it for extra speed.

template<typename T>
constexpr SYS_FORCE_INLINE UT_Vector4T< T >::UT_Vector4T ( const UT_Vector4T< T > &  that)
default
template<typename T>
constexpr SYS_FORCE_INLINE UT_Vector4T< T >::UT_Vector4T ( UT_Vector4T< T > &&  that)
default
template<typename T>
constexpr SYS_FORCE_INLINE UT_Vector4T< T >::UT_Vector4T ( const T  vx,
const T  vy,
const T  vz,
const T  vw = 1.0f 
)
inline

Definition at line 185 of file UT_Vector4.h.

template<typename T>
constexpr SYS_FORCE_INLINE UT_Vector4T< T >::UT_Vector4T ( const fpreal32  v[])
inlinenoexcept

Definition at line 189 of file UT_Vector4.h.

template<typename T>
constexpr SYS_FORCE_INLINE UT_Vector4T< T >::UT_Vector4T ( const fpreal64  v[])
inlinenoexcept

Definition at line 192 of file UT_Vector4.h.

template<typename T>
constexpr SYS_FORCE_INLINE UT_Vector4T< T >::UT_Vector4T ( const int32  v[])
inlinenoexcept

Definition at line 195 of file UT_Vector4.h.

template<typename T>
constexpr SYS_FORCE_INLINE UT_Vector4T< T >::UT_Vector4T ( const int64  v[])
inlinenoexcept

Definition at line 198 of file UT_Vector4.h.

template<typename T>
constexpr UT_Vector4T< T >::UT_Vector4T ( const UT_Vector2T< T > &  v)
explicitnoexcept

Definition at line 666 of file UT_Vector4.h.

template<typename T>
constexpr UT_Vector4T< T >::UT_Vector4T ( const UT_Vector3T< T > &  v,
T  w = 1.f 
)
explicitnoexcept

Definition at line 674 of file UT_Vector4.h.

template<typename T>
template<typename S >
constexpr SYS_FORCE_INLINE UT_Vector4T< T >::UT_Vector4T ( const UT_Vector4T< S > &  v)
inlinenoexcept

Our own type of any given value_type.

Definition at line 210 of file UT_Vector4.h.

template<typename T>
constexpr SYS_FORCE_INLINE UT_Vector4T< T >::UT_Vector4T ( const UT_FixedVector< T, tuple_size > &  v)
inlineexplicitnoexcept

UT_FixedVector of the same size.

Definition at line 215 of file UT_Vector4.h.

Member Function Documentation

template<typename T>
void UT_Vector4T< T >::assign ( T  xx = 0.0f,
T  yy = 0.0f,
T  zz = 0.0f,
T  ww = 1.0f 
)
inline

Set the values of the vector components.

Definition at line 525 of file UT_Vector4.h.

template<typename T>
void UT_Vector4T< T >::assign ( const T v,
int  size = tuple_size 
)
inline

Set the values of the vector components.

Definition at line 531 of file UT_Vector4.h.

template<typename T>
constexpr SYS_FORCE_INLINE T UT_Vector4T< T >::avgComponent ( ) const
inlinenoexcept

Definition at line 388 of file UT_Vector4.h.

template<typename T>
void UT_Vector4T< T >::clampZero ( T  tol = 0.00001f)
inline

Definition at line 337 of file UT_Vector4.h.

template<typename T>
void UT_Vector4T< T >::clampZero3 ( T  tol = 0.00001f)
inline

Definition at line 345 of file UT_Vector4.h.

template<typename T>
template<typename S >
void UT_Vector4T< T >::colVecMult ( const UT_Matrix4T< S > &  m)
inline

If you need a multiplication operator that left multiplies the vector by a matrix (M * v), use the following colVecMult() functions. If you'd rather not use operator*=() for right-multiplications (v * M), use the following rowVecMult() functions.

Definition at line 405 of file UT_Vector4.h.

template<typename T>
constexpr SYS_FORCE_INLINE const T* UT_Vector4T< T >::data ( ) const
inlinenoexcept

Definition at line 227 of file UT_Vector4.h.

template<typename T>
constexpr SYS_FORCE_INLINE T* UT_Vector4T< T >::data ( )
inlinenoexcept

Definition at line 232 of file UT_Vector4.h.

template<typename T>
void UT_Vector4T< T >::dehomogenize ( )
inline

Express the point in homogeneous coordinates or vice-versa.

Definition at line 547 of file UT_Vector4.h.

template<typename T>
constexpr SYS_FORCE_INLINE T UT_Vector4T< T >::distance ( const UT_Vector4T< T > &  b) const
inlinenoexcept

Definition at line 302 of file UT_Vector4.h.

template<typename T>
constexpr SYS_FORCE_INLINE T UT_Vector4T< T >::distance2 ( const UT_Vector4T< T > &  b) const
inlinenoexcept

Definition at line 297 of file UT_Vector4.h.

template<typename T>
constexpr SYS_FORCE_INLINE T UT_Vector4T< T >::dot ( const UT_Vector4T< T > &  b) const
inlinenoexcept

Definition at line 514 of file UT_Vector4.h.

template<typename T>
static int UT_Vector4T< T >::entries ( )
inlinestatic

Returns the vector size.

Definition at line 571 of file UT_Vector4.h.

template<typename T>
constexpr SYS_FORCE_INLINE bool UT_Vector4T< T >::equalZero ( const T  tolerance = SYS_FTOLERANCE) const
inlinenoexcept

Definition at line 368 of file UT_Vector4.h.

template<typename T>
int UT_Vector4T< T >::equalZero3 ( T  tol = 0.00001f) const
inline

Definition at line 330 of file UT_Vector4.h.

template<typename T>
int UT_Vector4T< T >::findMaxAbsAxis ( ) const
inline

These allow you to find out what indices to use for different axes.

Definition at line 464 of file UT_Vector4.h.

template<typename T>
int UT_Vector4T< T >::findMinAbsAxis ( ) const
inline

These allow you to find out what indices to use for different axes.

Definition at line 439 of file UT_Vector4.h.

template<typename T>
unsigned UT_Vector4T< T >::hash ( void  ) const
inline

Compute a hash.

Definition at line 520 of file UT_Vector4.h.

template<typename T>
void UT_Vector4T< T >::homogenize ( )
inline

Express the point in homogeneous coordinates or vice-versa.

Definition at line 541 of file UT_Vector4.h.

template<typename T>
constexpr SYS_FORCE_INLINE bool UT_Vector4T< T >::isEqual ( const UT_Vector4T< T > &  b,
const T  tolerance = SYS_FTOLERANCE 
) const
inlinenoexcept

Definition at line 373 of file UT_Vector4.h.

template<typename T>
int UT_Vector4T< T >::isEqual ( const UT_Vector3T< T > &  vect,
T  tol = 0.00001f 
) const
inline

Definition at line 707 of file UT_Vector4.h.

template<typename T>
constexpr SYS_FORCE_INLINE bool UT_Vector4T< T >::isFinite ( ) const
inlinenoexcept

Definition at line 363 of file UT_Vector4.h.

template<typename T>
constexpr SYS_FORCE_INLINE bool UT_Vector4T< T >::isZero ( ) const
inlinenoexcept

Definition at line 314 of file UT_Vector4.h.

template<typename T>
constexpr SYS_FORCE_INLINE T UT_Vector4T< T >::length ( void  ) const
inlinenoexcept

Definition at line 292 of file UT_Vector4.h.

template<typename T>
constexpr SYS_FORCE_INLINE T UT_Vector4T< T >::length2 ( ) const
inlinenoexcept

Definition at line 287 of file UT_Vector4.h.

template<typename T>
bool UT_Vector4T< T >::load ( UT_IStream is)
template<typename T>
bool UT_Vector4T< T >::load ( UT_JSONParser p)

Methods to serialize to a JSON stream. The vector is stored as an array of 4 reals.

template<typename T>
constexpr SYS_FORCE_INLINE T UT_Vector4T< T >::maxComponent ( ) const
inlinenoexcept

Definition at line 378 of file UT_Vector4.h.

template<typename T>
constexpr SYS_FORCE_INLINE T UT_Vector4T< T >::minComponent ( ) const
inlinenoexcept

Definition at line 383 of file UT_Vector4.h.

template<typename T>
template<typename S >
void UT_Vector4T< T >::multiply3 ( const UT_Matrix4T< S > &  mat)
inline

Definition at line 430 of file UT_Vector4.h.

template<typename T>
template<typename S >
void UT_Vector4T< T >::multiply3 ( UT_Vector4T< T > &  dest,
const UT_Matrix4T< S > &  mat 
) const
inline

Definition at line 433 of file UT_Vector4.h.

template<typename T>
void UT_Vector4T< T >::multiplyComponents ( const UT_Vector4T< T > &  v)
inline

Definition at line 355 of file UT_Vector4.h.

template<typename T>
constexpr SYS_FORCE_INLINE void UT_Vector4T< T >::negate ( )
inlinenoexcept

Definition at line 282 of file UT_Vector4.h.

template<typename T>
void UT_Vector4T< T >::negate3 ( )
inline

Definition at line 352 of file UT_Vector4.h.

template<typename T>
SYS_FORCE_INLINE UT_StorageMathFloat_t< T > UT_Vector4T< T >::normalize ( )
inlinenoexcept

Definition at line 307 of file UT_Vector4.h.

template<typename T>
T& UT_Vector4T< T >::operator() ( unsigned  i)
inline

Return the components of the vector. The () operator does NOT check for the boundary condition.

Definition at line 502 of file UT_Vector4.h.

template<typename T>
T UT_Vector4T< T >::operator() ( unsigned  i) const
inline

Return the components of the vector. The () operator does NOT check for the boundary condition.

Definition at line 507 of file UT_Vector4.h.

template<typename T>
constexpr SYS_FORCE_INLINE UT_Vector4T& UT_Vector4T< T >::operator*= ( const T a)
inlinenoexcept

Definition at line 263 of file UT_Vector4.h.

template<typename T>
constexpr SYS_FORCE_INLINE UT_Vector4T& UT_Vector4T< T >::operator*= ( const UT_Vector4T< T > &  a)
inlinenoexcept

Definition at line 276 of file UT_Vector4.h.

template<typename T>
template<typename S >
UT_Vector4T<T>& UT_Vector4T< T >::operator*= ( const UT_Matrix4T< S > &  mat)
inline

Definition at line 426 of file UT_Vector4.h.

template<typename T>
constexpr SYS_FORCE_INLINE UT_Vector4T& UT_Vector4T< T >::operator+= ( const UT_Vector4T< T > &  a)
inlinenoexcept

Definition at line 251 of file UT_Vector4.h.

template<typename T>
constexpr SYS_FORCE_INLINE UT_Vector4T& UT_Vector4T< T >::operator-= ( const UT_Vector4T< T > &  a)
inlinenoexcept

Definition at line 257 of file UT_Vector4.h.

template<typename T>
constexpr SYS_FORCE_INLINE UT_Vector4T& UT_Vector4T< T >::operator/= ( const T a)
inlinenoexcept

Definition at line 269 of file UT_Vector4.h.

template<typename T>
SYS_FORCE_INLINE UT_Vector4T<T>& UT_Vector4T< T >::operator= ( const UT_Vector4T< T > &  that)
default
template<typename T>
SYS_FORCE_INLINE UT_Vector4T<T>& UT_Vector4T< T >::operator= ( UT_Vector4T< T > &&  that)
default
template<typename T>
template<typename S >
SYS_FORCE_INLINE UT_Vector4T<T>& UT_Vector4T< T >::operator= ( const UT_Vector4T< S > &  v)
inline

Definition at line 223 of file UT_Vector4.h.

template<typename T>
constexpr SYS_FORCE_INLINE UT_Vector4T< T > & UT_Vector4T< T >::operator= ( const T  a)
noexcept

Definition at line 683 of file UT_Vector4.h.

template<typename T>
UT_Vector4T<T>& UT_Vector4T< T >::operator= ( const UT_Vector3T< T > &  v)

Assignment operator that creates a V4 from a V3 by adding a '1' element.

template<typename T>
constexpr SYS_FORCE_INLINE const T& UT_Vector4T< T >::operator[] ( exint  i) const
inlinenoexcept

Definition at line 237 of file UT_Vector4.h.

template<typename T>
constexpr SYS_FORCE_INLINE T& UT_Vector4T< T >::operator[] ( exint  i)
inlinenoexcept

Definition at line 244 of file UT_Vector4.h.

template<typename T>
template<typename S >
void UT_Vector4T< T >::rowVecMult ( const UT_Matrix4T< S > &  m)
inline

If you need a multiplication operator that left multiplies the vector by a matrix (M * v), use the following colVecMult() functions. If you'd rather not use operator*=() for right-multiplications (v * M), use the following rowVecMult() functions.

Definition at line 402 of file UT_Vector4.h.

template<typename T>
template<typename S >
void UT_Vector4T< T >::rowVecMult3 ( const UT_Matrix4T< S > &  m)
inline

This multiply will ignore the 4th component both in the vector an in the matrix. This helps when you want to avoid affecting the 'w' component. This in turns annihilates the translation components (row 4) in mat, so be careful.

Definition at line 415 of file UT_Vector4.h.

template<typename T>
void UT_Vector4T< T >::save ( std::ostream &  os,
int  binary = 0 
) const
template<typename T>
bool UT_Vector4T< T >::save ( UT_JSONWriter w) const

Methods to serialize to a JSON stream. The vector is stored as an array of 4 reals.

template<typename T>
bool UT_Vector4T< T >::save ( UT_JSONValue v) const

Methods to serialize to a JSON stream. The vector is stored as an array of 4 reals.

template<typename T>
T& UT_Vector4T< T >::w ( )
inline

Return the components of the vector. The () operator does NOT check for the boundary condition.

Examples:
COP2/COP2_SampleGenerator.h.

Definition at line 500 of file UT_Vector4.h.

template<typename T>
constexpr T UT_Vector4T< T >::w ( ) const
inlinenoexcept

Return the components of the vector. The () operator does NOT check for the boundary condition.

Definition at line 501 of file UT_Vector4.h.

template<typename T>
T& UT_Vector4T< T >::x ( )
inline

Return the components of the vector. The () operator does NOT check for the boundary condition.

Examples:
COP2/COP2_SampleGenerator.h.

Definition at line 494 of file UT_Vector4.h.

template<typename T>
constexpr T UT_Vector4T< T >::x ( ) const
inlinenoexcept

Return the components of the vector. The () operator does NOT check for the boundary condition.

Definition at line 495 of file UT_Vector4.h.

template<typename T>
T& UT_Vector4T< T >::y ( )
inline

Return the components of the vector. The () operator does NOT check for the boundary condition.

Examples:
COP2/COP2_SampleGenerator.h.

Definition at line 496 of file UT_Vector4.h.

template<typename T>
constexpr T UT_Vector4T< T >::y ( ) const
inlinenoexcept

Return the components of the vector. The () operator does NOT check for the boundary condition.

Definition at line 497 of file UT_Vector4.h.

template<typename T>
T& UT_Vector4T< T >::z ( )
inline

Return the components of the vector. The () operator does NOT check for the boundary condition.

Examples:
COP2/COP2_SampleGenerator.h.

Definition at line 498 of file UT_Vector4.h.

template<typename T>
constexpr T UT_Vector4T< T >::z ( ) const
inlinenoexcept

Return the components of the vector. The () operator does NOT check for the boundary condition.

Definition at line 499 of file UT_Vector4.h.

Friends And Related Function Documentation

template<typename T>
constexpr T distance2 ( const UT_Vector4T< T > &  a,
const UT_Vector4T< T > &  b 
)
friend

Definition at line 603 of file UT_Vector4.h.

template<typename T>
constexpr T dot ( const UT_Vector4T< T > &  a,
const UT_Vector4T< T > &  b 
)
friend

Definition at line 582 of file UT_Vector4.h.

template<typename T>
constexpr bool isZero ( const UT_Vector4T< T > &  a)
friend

Definition at line 577 of file UT_Vector4.h.

template<typename T>
constexpr T length2 ( const UT_Vector4T< T > &  a)
friend

Definition at line 598 of file UT_Vector4.h.

template<typename T>
constexpr bool operator!= ( const UT_Vector4T< T > &  a,
const UT_Vector4T< T > &  b 
)
friend

Definition at line 613 of file UT_Vector4.h.

template<typename T>
constexpr bool operator< ( const UT_Vector4T< T > &  a,
const UT_Vector4T< T > &  b 
)
friend

Lexicographic order comparison operators

Definition at line 620 of file UT_Vector4.h.

template<typename T>
std::ostream& operator<< ( std::ostream &  os,
const UT_Vector4T< T > &  v 
)
friend

I/O friends.

Definition at line 643 of file UT_Vector4.h.

template<typename T>
constexpr bool operator<= ( const UT_Vector4T< T > &  a,
const UT_Vector4T< T > &  b 
)
friend

Lexicographic order comparison operators

Definition at line 625 of file UT_Vector4.h.

template<typename T>
constexpr bool operator== ( const UT_Vector4T< T > &  a,
const UT_Vector4T< T > &  b 
)
friend

Definition at line 608 of file UT_Vector4.h.

template<typename T>
constexpr bool operator> ( const UT_Vector4T< T > &  a,
const UT_Vector4T< T > &  b 
)
friend

Lexicographic order comparison operators

Definition at line 630 of file UT_Vector4.h.

template<typename T>
constexpr bool operator>= ( const UT_Vector4T< T > &  a,
const UT_Vector4T< T > &  b 
)
friend

Lexicographic order comparison operators

Definition at line 635 of file UT_Vector4.h.

Member Data Documentation

template<typename T>
constexpr int UT_Vector4T< T >::tuple_size = 4
static

Definition at line 176 of file UT_Vector4.h.

template<typename T>
T UT_Vector4T< T >::vec[tuple_size]

Definition at line 573 of file UT_Vector4.h.


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