Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

Vect3D< Value, Real > Class Template Reference

3D Vector, with operators More...

#include <Vect3D.hpp>

Inheritance diagram for Vect3D< Value, Real >:

Inheritance graph
[legend]
Collaboration diagram for Vect3D< Value, Real >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Vect3D (Value _x, Value _y, Value _z)
Real Norme2 () const
Real Norm2 () const
Real Norme () const
Real Norm () const
Real Unit ()
Real SafeUnit ()
Real Dist2 (const Vect3D &p2) const
Real Dist (const Vect3D &p2) const
Real Distance2 (const Vect3D &p2) const
Real Distance (const Vect3D &p2) const
void Rotate (Vect3D axis, double angle)
int MaxCoord () const
int MinCoord () const
int MaxAbsCoord () const
int MinAbsCoord () const
_Self OrthogonalVect () const
void Show () const
void Show (const char *p) const
void Show (const char *p, const char *s) const
Value & operator() (int i)
Value operator() (int i) const
Vect3D< Value, Real > & operator= (Value val)
bool operator== (const Vect3D &other) const
bool operator!= (const Vect3D &other) const
Vect3Doperator+= (const Vect3D &v)
Vect3Doperator-= (const Vect3D &v)
Vect3Doperator/= (const Value &d)
Vect3Doperator *= (const Value &d)
Vect3D operator- () const
template<class V1, class R1>
 operator Vect3D () const

Public Attributes

Value x
Value y
Value z

Private Types

typedef Vect3D< Value, Real > _Self

Detailed Description

template<class Value, class Real = Value>
class Vect3D< Value, Real >

3D Vector, with operators

Definition at line 37 of file Vect3D.hpp.


The documentation for this class was generated from the following file:
Generated on Fri Jun 17 13:36:20 2005 for ImLib3D by  doxygen 1.4.2