[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
Two dimensional point or position. More...
#include <vigra/diff2d.hxx>
Public Types | |
| typedef Point2D | index_reference |
| typedef Point2D | PixelType |
| typedef Point2D const * | pointer |
| typedef Point2D const & | reference |
| typedef Point2D | value_type |
Public Types inherited from Diff2D | |
| typedef IteratorAdaptor< Diff2DConstColumnIteratorPolicy< Diff2D > > | column_iterator |
| typedef Diff2D | difference_type |
| typedef Diff2D | index_reference |
| typedef image_traverser_tag | iterator_category |
| typedef int | MoveX |
| typedef int | MoveY |
| typedef Diff2D | PixelType |
| typedef Diff2D const * | pointer |
| typedef Diff2D const & | reference |
| typedef IteratorAdaptor< Diff2DConstRowIteratorPolicy< Diff2D > > | row_iterator |
| typedef Diff2D | value_type |
Additional Inherited Members | |
Public Attributes inherited from Diff2D | |
| int | x |
| int | y |
Two dimensional point or position.
Specializes Diff2D for the specification of a 2-dimensional point or position, in contrast to an extent (for the latter use Size2D).
#include <vigra/diff2d.hxx>
Namespace: vigra
The iterator's value type: a coordinate.
the iterator's index reference type (return type of iter[diff])
| Point2D | ( | ) |
Default Constructor. Init point at position (0,0)
| int px | ( | ) | const |
Query the points' x coordinate
| int py | ( | ) | const |
Query the points' y coordinate
Read point coordinate at an offset.
| index_reference operator[] | ( | Diff2D const & | offset | ) | const |
Read point coordinate at an offset.
|
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |