Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

Point3D< T > Class Template Reference

un point de 3 dimmentions More...

#include <trigo.h>

List of all members.

Public Member Functions

 Point3D ()
 Point3D (T _x, T _y, T _z)
void Set (T _x, T _y, T _z=0)
void Zero ()
BOOL IsEqual (T _x, T _y, T _z)
BOOL operator== (Point3D< T > &src)
void operator= (Point3D< T > &src)
void Add (T _x, T _y, T _z)
void operator+= (Point3D< T > &src)
void operator/= (double divide)
void glRotated (double ratio)
void glRotated ()
void glTranslated (double ratio)
void glTranslated ()
void glRasterPos ()
void glScale ()
double Power ()
Point3D< T > QuaternionRotate (Point3D< T > &rotate)
void operator= (Point2D< T > &src)
BOOL IsOnTriangle (Point3D< T > &a, Point3D< T > &b, Point3D< T > &c)
BOOL IsNotNull ()

Public Attributes

x
y
z


Detailed Description

template<class T>
class Point3D< T >

un point de 3 dimmentions

Definition at line 116 of file trigo.h.


Constructor & Destructor Documentation

template<class T>
Point3D< T >::Point3D  )  [inline]
 

Definition at line 124 of file trigo.h.

template<class T>
Point3D< T >::Point3D _x,
_y,
_z
[inline]
 

Definition at line 125 of file trigo.h.


Member Function Documentation

template<class T>
void Point3D< T >::Add _x,
_y,
_z
 

Definition at line 577 of file trigo.h.

template<class T>
void Point3D< T >::glRasterPos  )  [inline]
 

Definition at line 140 of file trigo.h.

template<class T>
void Point3D< T >::glRotated  ) 
 

Definition at line 614 of file trigo.h.

Referenced by Point3D< T >::glRotated().

template<class T>
void Point3D< T >::glRotated double  ratio  ) 
 

Definition at line 601 of file trigo.h.

References Point3D< T >::glRotated().

Referenced by Object3D::DrawVector(), and Cursor::DrawVector().

template<class T>
void Point3D< T >::glScale  )  [inline]
 

Definition at line 141 of file trigo.h.

template<class T>
void Point3D< T >::glTranslated  ) 
 

Definition at line 629 of file trigo.h.

template<class T>
void Point3D< T >::glTranslated double  ratio  ) 
 

Definition at line 622 of file trigo.h.

Referenced by ControlEngine::Draw2DText().

template<class T>
BOOL Point3D< T >::IsEqual _x,
_y,
_z
[inline]
 

Definition at line 129 of file trigo.h.

template<class T>
BOOL Point3D< T >::IsNotNull  )  [inline]
 

Definition at line 147 of file trigo.h.

Referenced by Angles::Add().

template<class T>
BOOL Point3D< T >::IsOnTriangle Point3D< T > &  a,
Point3D< T > &  b,
Point3D< T > &  c
 

Definition at line 544 of file trigo.h.

References BOOL(), c, Point2D< T >::IsOnTriangle(), and Point3D< T >::z.

template<class T>
void Point3D< T >::operator+= Point3D< T > &  src  ) 
 

Definition at line 585 of file trigo.h.

References src.

template<class T>
void Point3D< T >::operator/= double  divide  ) 
 

Definition at line 593 of file trigo.h.

template<class T>
void Point3D< T >::operator= Point2D< T > &  src  ) 
 

Definition at line 561 of file trigo.h.

References src.

template<class T>
void Point3D< T >::operator= Point3D< T > &  src  ) 
 

Definition at line 569 of file trigo.h.

References src.

template<class T>
BOOL Point3D< T >::operator== Point3D< T > &  src  )  [inline]
 

Definition at line 130 of file trigo.h.

template<class T>
double Point3D< T >::Power  )  [inline]
 

Definition at line 143 of file trigo.h.

template<class T>
Point3D< T > Point3D< T >::QuaternionRotate Point3D< T > &  rotate  ) 
 

Definition at line 532 of file trigo.h.

Referenced by Control::RotateQuaternion().

template<class T>
void Point3D< T >::Set _x,
_y,
_z = 0
[inline]
 

Definition at line 127 of file trigo.h.

Referenced by BasicText3D::GetBox(), and Point3D< LayoutDouble >::Point3D().

template<class T>
void Point3D< T >::Zero  )  [inline]
 

Definition at line 128 of file trigo.h.

Referenced by Point3D< LayoutDouble >::Point3D().


Member Data Documentation

template<class T>
T Point3D< T >::x
 

Definition at line 119 of file trigo.h.

Referenced by Region::Compute(), ControlEngine::Draw2DText(), ControlEngine::ProjectObjectToWindow(), ControlEngine::ProjectWindowToObject(), ControlEngine::ScreenShot(), and Region::Use().

template<class T>
T Point3D< T >::y
 

Definition at line 120 of file trigo.h.

Referenced by Region::Compute(), ControlEngine::Draw2DText(), ControlEngine::ProjectObjectToWindow(), ControlEngine::ProjectWindowToObject(), ControlEngine::ScreenShot(), and Region::Use().

template<class T>
T Point3D< T >::z
 

Definition at line 121 of file trigo.h.

Referenced by Region::Compute(), ControlEngine::Draw2DText(), Point3D< T >::IsOnTriangle(), ControlEngine::ProjectObjectToWindow(), ControlEngine::ProjectWindowToObject(), and ControlEngine::ScreenShot().


The documentation for this class was generated from the following file:
Generated on Fri Aug 20 19:21:31 2004 for 3d Controls by doxygen 1.3.6