_Point4< Type > Class Template Reference

#include <_Point4.h>

Inheritance diagram for _Point4< Type >:

_Tuple4< Type > List of all members.

Public Member Functions

 _Point4 ()
 _Point4 (Type x, Type y=0, Type z=0, Type w=0)
 _Point4 (const _Tuple4< double > &t)
 _Point4 (const _Tuple4< float > &t)
 _Point4 (const _Tuple3< double > &t)
 _Point4 (const _Tuple3< float > &t)
 _Point4 (const Type t[4])
Type distanceSquared (const _Point4< Type > &p) const
Type distance (const _Point4< Type > &p) const
Type distanceL1 (const _Point4< Type > &p) const
Type distanceLinf (const _Point4< Type > &p) const
void project (const _Point4< Type > &p)

Detailed Description

template<class Type>
class _Point4< Type >

Definition at line 12 of file _Point4.h.


Constructor & Destructor Documentation

template<class Type>
_Point4< Type >::_Point4  )  [inline]
 

template<class Type>
_Point4< Type >::_Point4 Type  x,
Type  y = 0,
Type  z = 0,
Type  w = 0
[inline, explicit]
 

template<class Type>
_Point4< Type >::_Point4 const _Tuple4< double > &  t  )  [inline]
 

template<class Type>
_Point4< Type >::_Point4 const _Tuple4< float > &  t  )  [inline]
 

template<class Type>
_Point4< Type >::_Point4 const _Tuple3< double > &  t  )  [inline]
 

template<class Type>
_Point4< Type >::_Point4 const _Tuple3< float > &  t  )  [inline]
 

template<class Type>
_Point4< Type >::_Point4 const Type  t[4]  )  [inline]
 


Member Function Documentation

template<class Type>
Type _Point4< Type >::distance const _Point4< Type > &  p  )  const [inline]
 

Definition at line 48 of file _Point4.h.

template<class Type>
Type _Point4< Type >::distanceL1 const _Point4< Type > &  p  )  const [inline]
 

Definition at line 52 of file _Point4.h.

References _Tuple4< Type >::w, _Tuple4< Type >::x, _Tuple4< Type >::y, and _Tuple4< Type >::z.

template<class Type>
Type _Point4< Type >::distanceLinf const _Point4< Type > &  p  )  const [inline]
 

Definition at line 59 of file _Point4.h.

References Math::max(), _Tuple4< Type >::w, _Tuple4< Type >::x, _Tuple4< Type >::y, and _Tuple4< Type >::z.

template<class Type>
Type _Point4< Type >::distanceSquared const _Point4< Type > &  p  )  const [inline]
 

Definition at line 43 of file _Point4.h.

References Math::sqr(), _Tuple4< Type >::w, _Tuple4< Type >::x, _Tuple4< Type >::y, and _Tuple4< Type >::z.

template<class Type>
void _Point4< Type >::project const _Point4< Type > &  p  )  [inline]
 

Definition at line 65 of file _Point4.h.

References _Tuple4< Type >::w.


The documentation for this class was generated from the following file:
Generated on Thu Sep 29 13:39:45 2005 for vecmath by  doxygen 1.4.4