Main Page | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

ARLib::Utility::ARPoint2D< T > Class Template Reference

Represents two dimensional coordinates (x,y). More...

#include <arpoint.h>

Inheritance diagram for ARLib::Utility::ARPoint2D< T >:

ARLib::Detection::ARCorner List of all members.

Public Member Functions

 ARPoint2D ()
 Default constructor.
 ARPoint2D (T X, T Y)
 Initialisation constructor.
void Clear ()
 Resets x and y to 0.
void Set (T X, T Y)
 Sets x and y in a single statement.
bool MatchWithTolerance (const ARPoint2D &pt, T tolerance)

Public Attributes

x
 The column coordinate.
y
 The row coordinate.

Detailed Description

template<class T>
class ARLib::Utility::ARPoint2D< T >

Represents two dimensional coordinates (x,y).


Member Function Documentation

template<class T>
bool ARLib::Utility::ARPoint2D< T >::MatchWithTolerance const ARPoint2D< T > &  pt,
tolerance
[inline]
 

Like doing an equals comparison but with a tolerance.


The documentation for this class was generated from the following file:
Generated on Wed Aug 31 18:01:40 2005 for ARLib by  doxygen 1.3.9.1