|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
The class PointToIndex2dC serves as the transformation
between two-dimensional point and two-dimensional index, including scaling
and translation.
Variables:
- Point2dC offset;
-
coordinates of the first point
- Point2dC size;
-
size of a cell of the grid
Methods:
- PointToIndex2dC(const Point2dC & minimumPoint,const Point2dC & cellSize)
-
Creates the transformation which converts a 2-D point into a cell index.
- Index2dC operator()(const Point2dC & point)
-
Converts the 'point' into index.
- Point2dC Point(const Index2dC & i)
-
Returns the points of the coordintates equal to the indices of 'i'.
- istream & operator>>(istream & inS,PointToIndex2dC & tr)
-
- ostream & operator<<(ostream & outS,const PointToIndex2dC & tr)
-
|
Programmer:Radek Marik, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|