Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
tesseract_collision::VHACD::Vec3< T > Class Template Reference

Vector dim 3. More...

#include <vhacdVector.h>

Collaboration diagram for tesseract_collision::VHACD::Vec3< T >:
Collaboration graph
[legend]

Public Member Functions

Toperator[] (size_t i)
 
const Toperator[] (size_t i) const
 
TX ()
 
TY ()
 
TZ ()
 
const TX () const
 
const TY () const
 
const TZ () const
 
void Normalize ()
 
T GetNorm () const
 
void operator= (const Vec3 &rhs)
 
void operator+= (const Vec3 &rhs)
 
void operator-= (const Vec3 &rhs)
 
void operator-= (T a)
 
void operator+= (T a)
 
void operator/= (T a)
 
void operator*= (T a)
 
Vec3 operator^ (const Vec3 &rhs) const
 
T operator* (const Vec3 &rhs) const
 
Vec3 operator+ (const Vec3 &rhs) const
 
Vec3 operator- (const Vec3 &rhs) const
 
Vec3 operator- () const
 
Vec3 operator* (T rhs) const
 
Vec3 operator/ (T rhs) const
 
bool operator< (const Vec3 &rhs) const
 
bool operator> (const Vec3 &rhs) const
 
 Vec3 ()
 
 Vec3 (T a)
 
 Vec3 (T x, T y, T z)
 
 Vec3 (const Vec3 &rhs)
 
 ~Vec3 (void)
 
T GetCenter (const Vec3 &bmin, const Vec3 &bmax)
 
void UpdateMinMax (Vec3 &bmin, Vec3 &bmax) const
 
T GetDistanceSquared (const Vec3 &p) const
 
T GetDistance (const Vec3 &p) const
 
TGetData (void)
 

Private Attributes

T m_data [3]
 

Detailed Description

template<typename T>
class tesseract_collision::VHACD::Vec3< T >

Vector dim 3.

Constructor & Destructor Documentation

◆ Vec3() [1/4]

template<typename T >
tesseract_collision::VHACD::Vec3< T >::Vec3
inline

◆ Vec3() [2/4]

template<typename T >
tesseract_collision::VHACD::Vec3< T >::Vec3 ( T  a)
inline

◆ Vec3() [3/4]

template<typename T >
tesseract_collision::VHACD::Vec3< T >::Vec3 ( T  x,
T  y,
T  z 
)
inline

◆ Vec3() [4/4]

template<typename T >
tesseract_collision::VHACD::Vec3< T >::Vec3 ( const Vec3< T > &  rhs)
inline

◆ ~Vec3()

template<typename T >
tesseract_collision::VHACD::Vec3< T >::~Vec3 ( void  )
inline

Member Function Documentation

◆ GetCenter()

template<typename T >
T tesseract_collision::VHACD::Vec3< T >::GetCenter ( const Vec3< T > &  bmin,
const Vec3< T > &  bmax 
)
inline

◆ GetData()

template<typename T >
T * tesseract_collision::VHACD::Vec3< T >::GetData ( void  )
inline

◆ GetDistance()

template<typename T >
T tesseract_collision::VHACD::Vec3< T >::GetDistance ( const Vec3< T > &  p) const
inline

◆ GetDistanceSquared()

template<typename T >
T tesseract_collision::VHACD::Vec3< T >::GetDistanceSquared ( const Vec3< T > &  p) const
inline

◆ GetNorm()

template<typename T >
T tesseract_collision::VHACD::Vec3< T >::GetNorm
inline

◆ Normalize()

template<typename T >
void tesseract_collision::VHACD::Vec3< T >::Normalize
inline

◆ operator*() [1/2]

template<typename T >
T tesseract_collision::VHACD::Vec3< T >::operator* ( const Vec3< T > &  rhs) const

◆ operator*() [2/2]

template<typename T >
Vec3< T > tesseract_collision::VHACD::Vec3< T >::operator* ( T  rhs) const
inline

◆ operator*=()

template<typename T >
void tesseract_collision::VHACD::Vec3< T >::operator*= ( T  a)
inline

◆ operator+()

template<typename T >
Vec3< T > tesseract_collision::VHACD::Vec3< T >::operator+ ( const Vec3< T > &  rhs) const
inline

◆ operator+=() [1/2]

template<typename T >
void tesseract_collision::VHACD::Vec3< T >::operator+= ( const Vec3< T > &  rhs)
inline

◆ operator+=() [2/2]

template<typename T >
void tesseract_collision::VHACD::Vec3< T >::operator+= ( T  a)
inline

◆ operator-() [1/2]

template<typename T >
Vec3< T > tesseract_collision::VHACD::Vec3< T >::operator-
inline

◆ operator-() [2/2]

template<typename T >
Vec3 tesseract_collision::VHACD::Vec3< T >::operator- ( const Vec3< T > &  rhs) const

◆ operator-=() [1/2]

template<typename T >
void tesseract_collision::VHACD::Vec3< T >::operator-= ( const Vec3< T > &  rhs)
inline

◆ operator-=() [2/2]

template<typename T >
void tesseract_collision::VHACD::Vec3< T >::operator-= ( T  a)
inline

◆ operator/()

template<typename T >
Vec3< T > tesseract_collision::VHACD::Vec3< T >::operator/ ( T  rhs) const
inline

◆ operator/=()

template<typename T >
void tesseract_collision::VHACD::Vec3< T >::operator/= ( T  a)
inline

◆ operator<()

template<typename T >
bool tesseract_collision::VHACD::Vec3< T >::operator< ( const Vec3< T > &  rhs) const
inline

◆ operator=()

template<typename T >
void tesseract_collision::VHACD::Vec3< T >::operator= ( const Vec3< T > &  rhs)
inline

◆ operator>()

template<typename T >
bool tesseract_collision::VHACD::Vec3< T >::operator> ( const Vec3< T > &  rhs) const
inline

◆ operator[]() [1/2]

template<typename T >
T & tesseract_collision::VHACD::Vec3< T >::operator[] ( size_t  i)
inline

◆ operator[]() [2/2]

template<typename T >
const T & tesseract_collision::VHACD::Vec3< T >::operator[] ( size_t  i) const
inline

◆ operator^()

template<typename T >
Vec3< T > tesseract_collision::VHACD::Vec3< T >::operator^ ( const Vec3< T > &  rhs) const
inline

◆ UpdateMinMax()

template<typename T >
void tesseract_collision::VHACD::Vec3< T >::UpdateMinMax ( Vec3< T > &  bmin,
Vec3< T > &  bmax 
) const
inline

◆ X() [1/2]

template<typename T >
T & tesseract_collision::VHACD::Vec3< T >::X
inline

◆ X() [2/2]

template<typename T >
const T & tesseract_collision::VHACD::Vec3< T >::X
inline

◆ Y() [1/2]

template<typename T >
T & tesseract_collision::VHACD::Vec3< T >::Y
inline

◆ Y() [2/2]

template<typename T >
const T & tesseract_collision::VHACD::Vec3< T >::Y
inline

◆ Z() [1/2]

template<typename T >
T & tesseract_collision::VHACD::Vec3< T >::Z
inline

◆ Z() [2/2]

template<typename T >
const T & tesseract_collision::VHACD::Vec3< T >::Z
inline

Member Data Documentation

◆ m_data

template<typename T >
T tesseract_collision::VHACD::Vec3< T >::m_data[3]
private

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