CLAM::PointTmpl< TX, TY > Class Template Reference

#include <PointTmplDec.hxx>

List of all members.

Public Member Functions

 PointTmpl ()
 PointTmpl (TX xValue, TY yValue)
const TX & GetX () const
const TY & GetY () const
void SetX (TX xValue)
void SetY (TY yValue)
const PointTmpl< TX, TY > & operator= (const PointTmpl< TX, TY > &newPoint)
const PointTmpl< TX, TY > & operator+= (const PointTmpl< TX, TY > &newPoint)
const PointTmpl< TX, TY > & operator-= (const PointTmpl< TX, TY > &newPoint)
bool operator< (const PointTmpl< TX, TY > &newPoint) const
bool operator<= (const PointTmpl< TX, TY > &newPoint) const
bool operator> (const PointTmpl< TX, TY > &newPoint) const
bool operator>= (const PointTmpl< TX, TY > &newPoint) const
bool operator!= (const PointTmpl< TX, TY > &newPoint) const
bool operator== (const PointTmpl< TX, TY > &newPoint) const
double Distance (const PointTmpl< TX, TY > &newPoint) const
PointTmpl< TX, TY > operator- (const PointTmpl< TX, TY > &otherPoint)
PointTmpl< TX, TY > operator+ (const PointTmpl< TX, TY > &otherPoint)

Protected Attributes

TX mX
TY mY

Detailed Description

template<typename TX = TData, typename TY = TX>
class CLAM::PointTmpl< TX, TY >

Definition at line 32 of file PointTmplDec.hxx.


Constructor & Destructor Documentation

template<typename TX = TData, typename TY = TX>
CLAM::PointTmpl< TX, TY >::PointTmpl (  )  [inline]

Definition at line 36 of file PointTmplDec.hxx.

template<typename TX = TData, typename TY = TX>
CLAM::PointTmpl< TX, TY >::PointTmpl ( TX  xValue,
TY  yValue 
) [inline]

Definition at line 39 of file PointTmplDec.hxx.


Member Function Documentation

template<typename TX = TData, typename TY = TX>
double CLAM::PointTmpl< TX, TY >::Distance ( const PointTmpl< TX, TY > &  newPoint  )  const [inline]

Definition at line 80 of file PointTmplDec.hxx.

template<typename TX = TData, typename TY = TX>
const TX& CLAM::PointTmpl< TX, TY >::GetX (  )  const [inline]
template<typename TX = TData, typename TY = TX>
const TY& CLAM::PointTmpl< TX, TY >::GetY (  )  const [inline]

Definition at line 47 of file PointTmplDec.hxx.

Referenced by CLAM::BPFTmpl< TX, TY >::Insert().

template<typename TX = TData, typename TY = TX>
bool CLAM::PointTmpl< TX, TY >::operator!= ( const PointTmpl< TX, TY > &  newPoint  )  const [inline]

Definition at line 76 of file PointTmplDec.hxx.

template<typename TX = TData, typename TY = TX>
PointTmpl<TX,TY> CLAM::PointTmpl< TX, TY >::operator+ ( const PointTmpl< TX, TY > &  otherPoint  )  [inline]

Definition at line 91 of file PointTmplDec.hxx.

template<typename TX = TData, typename TY = TX>
const PointTmpl<TX,TY>& CLAM::PointTmpl< TX, TY >::operator+= ( const PointTmpl< TX, TY > &  newPoint  )  [inline]

Definition at line 60 of file PointTmplDec.hxx.

template<typename TX = TData, typename TY = TX>
PointTmpl<TX,TY> CLAM::PointTmpl< TX, TY >::operator- ( const PointTmpl< TX, TY > &  otherPoint  )  [inline]

Definition at line 86 of file PointTmplDec.hxx.

template<typename TX = TData, typename TY = TX>
const PointTmpl<TX,TY>& CLAM::PointTmpl< TX, TY >::operator-= ( const PointTmpl< TX, TY > &  newPoint  )  [inline]

Definition at line 66 of file PointTmplDec.hxx.

template<typename TX = TData, typename TY = TX>
bool CLAM::PointTmpl< TX, TY >::operator< ( const PointTmpl< TX, TY > &  newPoint  )  const [inline]

Definition at line 72 of file PointTmplDec.hxx.

template<typename TX = TData, typename TY = TX>
bool CLAM::PointTmpl< TX, TY >::operator<= ( const PointTmpl< TX, TY > &  newPoint  )  const [inline]

Definition at line 73 of file PointTmplDec.hxx.

template<typename TX = TData, typename TY = TX>
const PointTmpl<TX,TY>& CLAM::PointTmpl< TX, TY >::operator= ( const PointTmpl< TX, TY > &  newPoint  )  [inline]

Definition at line 54 of file PointTmplDec.hxx.

template<typename TX = TData, typename TY = TX>
bool CLAM::PointTmpl< TX, TY >::operator== ( const PointTmpl< TX, TY > &  newPoint  )  const [inline]

Definition at line 77 of file PointTmplDec.hxx.

template<typename TX = TData, typename TY = TX>
bool CLAM::PointTmpl< TX, TY >::operator> ( const PointTmpl< TX, TY > &  newPoint  )  const [inline]

Definition at line 74 of file PointTmplDec.hxx.

template<typename TX = TData, typename TY = TX>
bool CLAM::PointTmpl< TX, TY >::operator>= ( const PointTmpl< TX, TY > &  newPoint  )  const [inline]

Definition at line 75 of file PointTmplDec.hxx.

template<typename TX = TData, typename TY = TX>
void CLAM::PointTmpl< TX, TY >::SetX ( TX  xValue  )  [inline]

Definition at line 50 of file PointTmplDec.hxx.

Referenced by CLAM::operator>>().

template<typename TX = TData, typename TY = TX>
void CLAM::PointTmpl< TX, TY >::SetY ( TY  yValue  )  [inline]

Definition at line 51 of file PointTmplDec.hxx.

Referenced by CLAM::operator>>().


Member Data Documentation

template<typename TX = TData, typename TY = TX>
TX CLAM::PointTmpl< TX, TY >::mX [protected]
template<typename TX = TData, typename TY = TX>
TY CLAM::PointTmpl< TX, TY >::mY [protected]

The documentation for this class was generated from the following file:
Generated by  doxygen 1.6.3