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:

Public Member Functions

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

Additional Inherited Members

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

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

◆ CartesianPoint() [1/2]

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

Constructor.

Parameters
phi
length

Definition at line 255 of file mirror_calib.cpp.

◆ CartesianPoint() [2/2]

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

◆ rotate()

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: