Fawkes API  Fawkes Development Version
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.

Detailed Description

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


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_pixel(), and firevision::MirrorCalibTool::CartesianImage::to_cartesian().


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