girl::TPoint< T > Class Template Reference

Generic 2D point class. More...

#include <girlPoint.hpp>

Inheritance diagram for girl::TPoint< T >:

girl::point

Public Member Functions

 TPoint (T px=0, T py=0)
 Constructor.
x () const
 Gets x coordinate of point.
y () const
 Gets y coordinate of point.
void set (T px, T py)
 Sets both coordinates of point.
void setX (T px)
 Sets x coordinate of point to value px.
void setY (T py)
 Sets y coordinate of point to value py.
bool operator== (const girl::TPoint< T > &pt) const
 operator==
bool operator!= (const girl::TPoint< T > &pt) const
 operator!=

Protected Attributes

m_x
 X coordinate.
m_y
 Y coordinate.

Detailed Description

template<typename T>
class girl::TPoint< T >

Generic 2D point class.
The documentation for this class was generated from the following file:

Generated on Thu Jun 4 14:30:33 2009 for GIRL: General Image Representation Library by  doxygen 1.5.7.1