Struct libCalibGeom::Point2¶
Class defining a two-dimensional point. E.g. an observed pixel position.
Constructors and destructors¶
Point2()¶
Point2
Default constructor (0,0).
Returns:
void |
Point2()¶
Point2double _x,double _y
Coordinate constructor.
Parameters:
_x | Horizontal coordinate. |
_y | Vertical coordinate. |
Returns:
void |
Public member functions¶
operator+()¶
operator-()¶
operator*()¶
norm()¶
doublenorm
Compute Euclidean norm (length).
Returns:
double |
squaredNorm()¶
doublesquaredNorm
Compute squared Euclidean norm.
Returns:
double |
Public data members¶
x¶
doublex
Horizontal coordinate.
y¶
doubley
Vertical coordinate.