VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes
makVrv::DtVector2< T > Class Template Reference

2 dimensional vector More...

Inheritance diagram for makVrv::DtVector2< T >:
Inheritance graph
[legend]

Public Member Functions

 DtVector2 ()
 CTOR.
 DtVector2 (T _x, T _y)
 CTOR.
 ~DtVector2 ()
 DTOR.
const void * ptr (void) const
operator[] (size_t index) const
length (void) const
bool isEqual (const DtVector2 &rhs, T tolerance) const
DtVector2 operator+ (const DtVector2 &rhs) const
DtVector2 operator- (const DtVector2 &rhs) const
DtVector2 operator+ (T fScalar) const
DtVector2 operator- (T fScalar) const
DtVector2 operator* (T fScalar) const
DtVector2 operator/ (T fScalar) const
DtVector2 operator/ (const DtVector2 &rhs) const
DtVector2 getNormalizedCopy (void) const
getDotProduct (const DtVector2 &rhs) const

Static Public Member Functions

static size_t sizeInBytes (void)

Public Attributes

x
y

Static Public Attributes

static DtVector2 ZERO_VECTOR = DtVector2<T>(0,0)
static DtVector2 UNIT_SCALE = DtVector2<T>(1,1)

Detailed Description

template<class T>
class makVrv::DtVector2< T >

2 dimensional vector

Constructor & Destructor Documentation

template<class T>
makVrv::DtVector2< T >::DtVector2 ( )
inline

CTOR.

template<class T>
makVrv::DtVector2< T >::DtVector2 ( _x,
_y 
)
inline

CTOR.

template<class T>
makVrv::DtVector2< T >::~DtVector2 ( )
inline

DTOR.

Member Function Documentation

template<class T>
const void* makVrv::DtVector2< T >::ptr ( void  ) const
inline
template<class T >
T makVrv::DtVector2< T >::operator[] ( size_t  index) const
template<class T >
T makVrv::DtVector2< T >::length ( void  ) const
template<class T>
bool makVrv::DtVector2< T >::isEqual ( const DtVector2< T > &  rhs,
tolerance 
) const
template<class T>
DtVector2 makVrv::DtVector2< T >::operator+ ( const DtVector2< T > &  rhs) const
template<class T>
DtVector2 makVrv::DtVector2< T >::operator- ( const DtVector2< T > &  rhs) const
template<class T>
DtVector2< T > makVrv::DtVector2< T >::operator+ ( fScalar) const
template<class T>
DtVector2< T > makVrv::DtVector2< T >::operator- ( fScalar) const
template<class T>
DtVector2< T > makVrv::DtVector2< T >::operator* ( fScalar) const
template<class T>
DtVector2< T > makVrv::DtVector2< T >::operator/ ( fScalar) const
template<class T>
DtVector2 makVrv::DtVector2< T >::operator/ ( const DtVector2< T > &  rhs) const
template<class T >
DtVector2< T > makVrv::DtVector2< T >::getNormalizedCopy ( void  ) const
template<class T>
T makVrv::DtVector2< T >::getDotProduct ( const DtVector2< T > &  rhs) const
template<class T >
size_t makVrv::DtVector2< T >::sizeInBytes ( void  )
static

Member Data Documentation

template<class T>
T makVrv::DtVector2< T >::x
template<class T>
T makVrv::DtVector2< T >::y
template<class T>
DtVector2< T > makVrv::DtVector2< T >::ZERO_VECTOR = DtVector2<T>(0,0)
static
template<class T>
DtVector2< T > makVrv::DtVector2< T >::UNIT_SCALE = DtVector2<T>(1,1)
static

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

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)