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

Vector dim 2. More...

#include <vhacdVector.h>

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

Public Member Functions

Toperator[] (size_t i)
 
const Toperator[] (size_t i) const
 
TX ()
 
TY ()
 
const TX () const
 
const TY () const
 
void Normalize ()
 
T GetNorm () const
 
void operator= (const Vec2 &rhs)
 
void operator+= (const Vec2 &rhs)
 
void operator-= (const Vec2 &rhs)
 
void operator-= (T a)
 
void operator+= (T a)
 
void operator/= (T a)
 
void operator*= (T a)
 
T operator^ (const Vec2 &rhs) const
 
T operator* (const Vec2 &rhs) const
 
Vec2 operator+ (const Vec2 &rhs) const
 
Vec2 operator- (const Vec2 &rhs) const
 
Vec2 operator- () const
 
Vec2 operator* (T rhs) const
 
Vec2 operator/ (T rhs) const
 
 Vec2 ()
 
 Vec2 (T a)
 
 Vec2 (T x, T y)
 
 Vec2 (const Vec2 &rhs)
 
 ~Vec2 (void)
 

Private Attributes

T m_data [2]
 

Detailed Description

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

Vector dim 2.

Constructor & Destructor Documentation

◆ Vec2() [1/4]

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

◆ Vec2() [2/4]

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

◆ Vec2() [3/4]

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

◆ Vec2() [4/4]

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

◆ ~Vec2()

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

Member Function Documentation

◆ GetNorm()

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

◆ Normalize()

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

◆ operator*() [1/2]

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

◆ operator*() [2/2]

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

◆ operator*=()

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

◆ operator+()

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

◆ operator+=() [1/2]

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

◆ operator+=() [2/2]

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

◆ operator-() [1/2]

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

◆ operator-() [2/2]

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

◆ operator-=() [1/2]

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

◆ operator-=() [2/2]

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

◆ operator/()

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

◆ operator/=()

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

◆ operator=()

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

◆ operator[]() [1/2]

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

◆ operator[]() [2/2]

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

◆ operator^()

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

◆ X() [1/2]

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

◆ X() [2/2]

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

◆ Y() [1/2]

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

◆ Y() [2/2]

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

Member Data Documentation

◆ m_data

template<typename T >
T tesseract_collision::VHACD::Vec2< T >::m_data[2]
private

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