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

_point2d< P, V > Class Template Reference

#include <point2d.H>

List of all members.

Public Methods

 _point2d ()
 _point2d (Greal xx, Greal yy)
const Grealdata () const
operator% (const P &p) const
operator+ (const V &v) const
operator- (const P &p) const
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
Greal distSqrd (const P &p) const
Greal dist (const P &p) const
bool isEqual (const P &p, Greal epsSqrd=epsAbsSqrdMath()) const
void operator+= (const P &p)
void operator+= (const V &v)
void operator-= (const P &p)
void operator-= (const V &v)
void operator *= (Greal scalar)
void operator/= (Greal scalar)
bool operator== (const P &p) const
bool operator!= (const P &p) const

Protected Attributes

Greal _x
Greal _y

template<class P, class V>
class _point2d< P, V >


Constructor & Destructor Documentation

template<class P, class V>
_point2d< P, V >::_point2d   [inline]
 

template<class P, class V>
_point2d< P, V >::_point2d Greal    xx,
Greal    yy
[inline]
 


Member Function Documentation

template<class P, class V>
const Greal* _point2d< P, V >::data   const [inline]
 

template<class P, class V>
Greal _point2d< P, V >::dist const P &    p const [inline]
 

template<class P, class V>
Greal _point2d< P, V >::distSqrd const P &    p const [inline]
 

template<class P, class V>
bool _point2d< P, V >::isEqual const P &    p,
Greal    epsSqrd = epsAbsSqrdMath()
const [inline]
 

template<class P, class V>
Greal _point2d< P, V >::length   const [inline]
 

template<class P, class V>
Greal _point2d< P, V >::lengthSqrd   const [inline]
 

template<class P, class V>
P _point2d< P, V >::operator * Greal    s const [inline]
 

template<class P, class V>
void _point2d< P, V >::operator *= Greal    scalar [inline]
 

template<class P, class V>
bool _point2d< P, V >::operator!= const P &    p const [inline]
 

template<class P, class V>
P _point2d< P, V >::operator% const P &    p const [inline]
 

template<class P, class V>
P _point2d< P, V >::operator+ const V &    v const [inline]
 

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

template<class P, class V>
void _point2d< P, V >::operator+= const P &    p [inline]
 

template<class P, class V>
P _point2d< P, V >::operator-   const [inline]
 

template<class P, class V>
P _point2d< P, V >::operator- const V &    v const [inline]
 

template<class P, class V>
V _point2d< P, V >::operator- const P &    p const [inline]
 

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

template<class P, class V>
void _point2d< P, V >::operator-= const P &    p [inline]
 

template<class P, class V>
P _point2d< P, V >::operator/ Greal    s const [inline]
 

template<class P, class V>
void _point2d< P, V >::operator/= Greal    scalar [inline]
 

template<class P, class V>
bool _point2d< P, V >::operator== const P &    p const [inline]
 

template<class P, class V>
Greal& _point2d< P, V >::operator[] int    index [inline]
 

template<class P, class V>
Greal _point2d< P, V >::operator[] int    index const [inline]
 


Member Data Documentation

template<class P, class V>
Greal _point2d< P, V >::_x [protected]
 

template<class P, class V>
Greal _point2d< P, V >::_y [protected]
 


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