Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

_vec2d< V > Class Template Reference

#include <vector2d.H>

List of all members.

Public Methods

 _vec2d ()
 _vec2d (Greal x, Greal y)
operator+ (const V &v) const
operator- (const V &v) const
Greal operator * (const V &v) const
operator- () const
operator * (Greal s) const
operator/ (Greal s) const
Greal operator[] (int index) const
Grealoperator[] (int index)
Greal length () const
Greal lengthSqrd () const
normalize () const
perpend () const
Greal dist (const V &v) const
Greal distSqrd (const V &v) const
bool isEqual (const V &v, Greal epsSqrd=epsNorSqrdMath()) const
bool isExactNull () const
bool isParallel (const V &) const
void operator+= (const V &v)
void operator-= (const V &v)
void operator *= (Greal s)
void operator/= (Greal s)
bool operator== (const V &v) const
bool operator!= (const V &v) const
Greal angle (const V &) const
bool isNull (Greal epsSqrdMath=epsNorSqrdMath()) const

Protected Attributes

Greal _x
Greal _y

template<class V>
class _vec2d< V >


Constructor & Destructor Documentation

template<class V>
_vec2d< V >::_vec2d   [inline]
 

template<class V>
_vec2d< V >::_vec2d Greal    x,
Greal    y
[inline]
 


Member Function Documentation

template<class V>
Greal _vec2d< V >::angle const V &    const [inline]
 

template<class V>
Greal _vec2d< V >::dist const V &    v const [inline]
 

template<class V>
Greal _vec2d< V >::distSqrd const V &    v const [inline]
 

template<class V>
bool _vec2d< V >::isEqual const V &    v,
Greal    epsSqrd = epsNorSqrdMath()
const [inline]
 

template<class V>
bool _vec2d< V >::isExactNull   const [inline]
 

template<class V>
bool _vec2d< V >::isNull Greal    epsSqrdMath = epsNorSqrdMath() const [inline]
 

template<class V>
bool _vec2d< V >::isParallel const V &    const [inline]
 

template<class V>
Greal _vec2d< V >::length   const [inline]
 

template<class V>
Greal _vec2d< V >::lengthSqrd   const [inline]
 

template<class V>
V _vec2d< V >::normalize   [inline]
 

template<class V>
V _vec2d< V >::operator * Greal    s const [inline]
 

template<class V>
Greal _vec2d< V >::operator * const V &    v const [inline]
 

template<class V>
void _vec2d< V >::operator *= Greal    s [inline]
 

template<class V>
bool _vec2d< V >::operator!= const V &    v const [inline]
 

template<class V>
V _vec2d< V >::operator+ const V &    v const [inline]
 

template<class V>
void _vec2d< V >::operator+= const V &    v [inline]
 

template<class V>
V _vec2d< V >::operator-   const [inline]
 

template<class V>
V _vec2d< V >::operator- const V &    v const [inline]
 

template<class V>
void _vec2d< V >::operator-= const V &    v [inline]
 

template<class V>
V _vec2d< V >::operator/ Greal    s const [inline]
 

template<class V>
void _vec2d< V >::operator/= Greal    s [inline]
 

template<class V>
bool _vec2d< V >::operator== const V &    v const [inline]
 

template<class V>
Greal& _vec2d< V >::operator[] int    index [inline]
 

template<class V>
Greal _vec2d< V >::operator[] int    index const [inline]
 

template<class V>
V _vec2d< V >::perpend   const [inline]
 


Member Data Documentation

template<class V>
Greal _vec2d< V >::_x [protected]
 

template<class V>
Greal _vec2d< V >::_y [protected]
 


The documentation for this class was generated from the following file:
Generated on Mon Sep 15 16:25:59 2003 for gluebase by doxygen1.2.18