Fawkes API  Fawkes Development Version
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
firevision::MirrorCalibTool::CartesianPoint Class Reference

A cartesian point is a 2d point which can have negative X and Y coords. More...

Inheritance diagram for firevision::MirrorCalibTool::CartesianPoint:

List of all members.

Public Member Functions

 CartesianPoint (PolarAngle phi, PolarRadius length)
 Constructor.
 CartesianPoint (int x, int y)
 Constructor.
CartesianPoint rotate (PolarAngle rotate_phi) const
 Rotates the vector to the point counter-clockwise and returns the vector to the point.
- Public Member Functions inherited from firevision::MirrorCalibTool::Point
 Point (int x, int y)
 Constructor.
PolarRadius length () const
 Length of the vector the point.
PolarAngle atan () const
 Atan(y, x) of the point.
Point operator= (const Point &p)
 Assignment.

Additional Inherited Members

- Public Attributes inherited from firevision::MirrorCalibTool::Point
const int x
 X coordinate.
const int y
 Y coordinate.

Detailed Description

A cartesian point is a 2d point which can have negative X and Y coords.

Definition at line 248 of file mirror_calib.cpp.


Constructor & Destructor Documentation

firevision::MirrorCalibTool::CartesianPoint::CartesianPoint ( PolarAngle  phi,
PolarRadius  length 
)
inline

Constructor.

Parameters:
phi
length

Definition at line 255 of file mirror_calib.cpp.

firevision::MirrorCalibTool::CartesianPoint::CartesianPoint ( int  x,
int  y 
)
inline

Constructor.

Parameters:
x
y

Definition at line 264 of file mirror_calib.cpp.


Member Function Documentation

CartesianPoint firevision::MirrorCalibTool::CartesianPoint::rotate ( PolarAngle  rotate_phi) const
inline

Rotates the vector to the point counter-clockwise and returns the vector to the point.

Parameters:
rotate_phi
Returns:
Counter-clockwise rotated point.

Definition at line 273 of file mirror_calib.cpp.

Referenced by firevision::MirrorCalibTool::CartesianImage::to_cartesian(), and firevision::MirrorCalibTool::CartesianImage::to_pixel().


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