VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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. More...
 
 DtVector2 (T _x, T _y)
 CTOR. More...
 
template<class T1 >
 DtVector2 (const T1 &v)
 CTOR construct from type with constructable components. More...
 
 ~DtVector2 ()
 DTOR. More...
 
const void * ptr (void) const
 
operator[] (size_t index) const
 
length (void) const
 
squaredLength (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>
template<class T1 >
makVrv::DtVector2< T >::DtVector2 ( const T1 &  v)
inline

CTOR construct from type with constructable components.

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 >
T makVrv::DtVector2< T >::squaredLength ( 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 Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)