The structure modelling a single point on a 2D image. More...

Public Member Functions

 ImagePoint ()
 Constructor. More...
 
 ImagePoint (double _x, double _y)
 Constructor. More...
 
bool isValid () const
 Returns true if the point is valid. More...
 

Public Attributes

bool valid
 If true the point is valid. More...
 
double x
 The x coordinate of the point. More...
 
double y
 The y coordinate of the point. More...
 

Detailed Description

The structure modelling a single point on a 2D image.

Definition at line 36 of file projector.h.

Constructor & Destructor Documentation

ImagePoint ( )
inline

Constructor.

This builds an invalid image point

Definition at line 43 of file projector.h.

ImagePoint ( double  _x,
double  _y 
)
inline

Constructor.

This builds a valid image point

Parameters
_xthe x coordinate of the point
_ythe y coordinate of the point

Definition at line 57 of file projector.h.

Member Function Documentation

bool isValid ( ) const
inline

Returns true if the point is valid.

Returns
true if the point is valid

Definition at line 69 of file projector.h.

Member Data Documentation

bool valid

If true the point is valid.

Definition at line 87 of file projector.h.

double x

The x coordinate of the point.

Definition at line 77 of file projector.h.

double y

The y coordinate of the point.

Definition at line 82 of file projector.h.


The documentation for this class was generated from the following file: