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

Vect2D< Value, Real > Class Template Reference

2D Vector, with operators More...

#include <Vect2D.hpp>

Collaboration diagram for Vect2D< Value, Real >:

Collaboration graph
List of all members.

Public Member Functions

 Vect2D (Value xi, Value yi)
Real Norme2 () const
Real Norm2 () const
Real Norme () const
Real Norm () const
Real Unit ()
Real Dist2 (const Vect2D &p2) const
Real Dist (const Vect2D &p2) const
Real Distance2 (const Vect2D &p2) const
Real Distance (const Vect2D &p2) const
void Show () const
void Show (char *p) const
void Show (char *p, char *s) const
Value & operator() (int i)
Value operator() (int i) const
Vect2D< Value, Real > & operator= (Value val)
bool operator== (const Vect2D &other) const
bool operator!= (const Vect2D &other) const
Vect2Doperator+= (const Vect2D &v)
Vect2Doperator-= (const Vect2D &v)
Vect2Doperator/= (const Value &d)
Vect2Doperator *= (const Value &d)
Vect2Doperator- ()

Public Attributes

Value x
Value y

Detailed Description

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

2D Vector, with operators

Definition at line 35 of file Vect2D.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