_Point3< Type > Class Template Reference

#include <_Point3.h>

Inheritance diagram for _Point3< Type >:

_Tuple3< Type > List of all members.

Public Member Functions

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

Detailed Description

template<class Type>
class _Point3< Type >

Definition at line 16 of file _Point3.h.


Constructor & Destructor Documentation

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

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

template<class Type>
_Point3< Type >::_Point3 const _Tuple3< double > &  v  )  [inline]
 

template<class Type>
_Point3< Type >::_Point3 const _Tuple3< float > &  v  )  [inline]
 

template<class Type>
_Point3< Type >::_Point3 const Type  t[3]  )  [inline]
 


Member Function Documentation

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

Definition at line 43 of file _Point3.h.

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

Definition at line 47 of file _Point3.h.

References _Tuple3< Type >::x, _Tuple3< Type >::y, and _Tuple3< Type >::z.

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

Definition at line 51 of file _Point3.h.

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

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

Definition at line 37 of file _Point3.h.

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

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

Definition at line 56 of file _Point3.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