Geometry::Vector3D< T > Class Template Reference

List of all members.

Public Member Functions

 Vector3D (const Vector3D< T > &v)
 Vector3D ()
 Vector3D (const T &x, const T &y, const T &z)
 Vector3D (const T data[3])
 Vector3D (const Vector3D< T > *v)
void set (const T &x, const T &y, const T &z)
void set (const T data[3])
Vector3D< T > & operator= (const Vector3D< T > &src)
bool operator== (const Vector3D< T > &src) const
bool operator< (const Vector3D< T > &src) const
void getSpheric (double &theta, double &phi) const
void getSpheric (double &distance, double &theta, double &phi) const
void setSpheric (double distance, double theta, double phi)
const T & x () const
const T & y () const
const T & z () const
void x (const T &t)
void y (const T &t)
void z (const T &t)
T & operator[] (int index)
const T & operator[] (int index) const
const T * getData () const
T * getDataRef ()
void normalize ()
void setLength (T len)
double module () const
double squaredModule () const
double angle (const Vector3D< T > &v) const
double distance (const Vector3D< T > &v) const
double squaredDistance (const Vector3D< T > &v) const
double infDistance (const Vector3D< T > &v) const
double manhattanDistance (const Vector3D< T > &v) const
double distanceToPlane (const Vector3D< T > &P, const Vector3D< T > &N) const
void rotateX (double angle)
void rotateY (double angle)
void rotateZ (double angle)
Vector3D< T > rotation (const Vector3D< T > &axis, double angle) const
operator * (const Vector3D< T > &v) const
dotProduct (const Vector3D< T > &v) const
operator * (const std::vector< T > &v) const
Vector3D< T > operator/ (T factor) const
const Vector3D< T > & operator/= (T factor)
Vector3D< T > operator * (T factor) const
const Vector3D< T > & operator *= (T factor)
Vector3D< T > operator^ (const Vector3D< T > &v) const
Vector3D< T > crossProduct (const Vector3D< T > &v) const
Vector3D< T > operator- (const Vector3D< T > &v) const
Vector3D< T > difference (const Vector3D< T > &v) const
const Vector3D< T > & operator-= (const Vector3D< T > &v)
const Vector3D< T > & substract (const Vector3D< T > &v)
Vector3D< T > projectX () const
Vector3D< T > projectY () const
Vector3D< T > projectZ () const
Vector3D< T > project (const Vector3D< T > &n) const
Vector3D< T > intersect (const Vector3D< T > &center, const Vector3D< T > &normal) const
Vector3D< T > perpendicular () const
Vector3D< T > operator+ (const Vector3D< T > &v) const
Vector3D< T > sum (const Vector3D< T > &v) const
const Vector3D< T > & operator+= (const Vector3D< T > &v)
const Vector3D< T > & add (const Vector3D< T > &v)

Static Public Member Functions

static unsigned dim ()

Protected Attributes

_data [3]


Detailed Description

template<class T>
class Geometry::Vector3D< T >

Definition at line 32 of file vector3.h.


The documentation for this class was generated from the following files:
Generated on Wed Apr 9 19:22:39 2008 for HalfEdge library by  doxygen 1.5.3