#include <grid.hpp>
Collaboration diagram for Arak::Grid< ItemType >::RectangleCellIteratorBase< GridType, CellType >:

Definition at line 526 of file grid.hpp.
Public Member Functions | |
| RectangleCellIteratorBase (GridType &g, Geometry::Rectangle r) | |
| Constructor for an iterator over all cells whose closures intersect a given rectangle. | |
| RectangleCellIteratorBase () | |
| Constructor for an end iterator. | |
| bool | operator== (const RectangleCellIteratorBase< GridType, CellType > &other) const |
| Comparison operators. | |
| bool | operator!= (const RectangleCellIteratorBase< GridType, CellType > &other) const |
| RectangleCellIteratorBase< GridType, CellType > & | operator++ (int) |
| Increment operators. | |
| RectangleCellIteratorBase< GridType, CellType > & | operator++ () |
| CellType * | operator-> () const |
| Accessors. | |
| CellType & | operator * () const |
Protected Attributes | |
| int | i |
| The current i coordinate. | |
| int | imax |
| The largest i coordinate. | |
| int | j |
| The current j coordinate. | |
| int | jmin |
| The smallest j coordinate. | |
| int | jmax |
| The largest j coordinate. | |
| CellType * | curCell |
| The current cell of the iterator. | |
| GridType * | grid |
| The grid. | |
|
||||||||||||||||||||
|
Constructor for an iterator over all cells whose closures intersect a given rectangle.
Definition at line 574 of file grid.hpp. References Arak::Grid< ItemType >::RectangleCellIteratorBase< GridType, CellType >::i, Arak::Grid< ItemType >::RectangleCellIteratorBase< GridType, CellType >::imax, Arak::Grid< ItemType >::RectangleCellIteratorBase< GridType, CellType >::j, Arak::Grid< ItemType >::RectangleCellIteratorBase< GridType, CellType >::jmax, Arak::Grid< ItemType >::RectangleCellIteratorBase< GridType, CellType >::jmin, and Arak::Geometry::Rectangle. |
|
|||||||||||||
|
Constructor for an end iterator.
|
|
|||||||||||||
|
|
|
||||||||||||||
|
|
|
|||||||||||||
|
||||||||||||||
|
Increment operators.
|
|
|||||||||||||
|
Accessors.
|
|
||||||||||||||
|
Comparison operators.
Definition at line 594 of file grid.hpp. References Arak::Grid< ItemType >::RectangleCellIteratorBase< GridType, CellType >::curCell. |
|
|||||||||
|
The current cell of the iterator.
Definition at line 558 of file grid.hpp. Referenced by Arak::Grid< ItemType >::RectangleCellIteratorBase< GridType, CellType >::operator==(). |
|
|||||||||
|
The grid.
|
|
|||||||||
|
The current i coordinate.
Definition at line 533 of file grid.hpp. Referenced by Arak::Grid< ItemType >::RectangleCellIteratorBase< GridType, CellType >::operator++(), and Arak::Grid< ItemType >::RectangleCellIteratorBase< GridType, CellType >::RectangleCellIteratorBase(). |
|
|||||||||
|
The largest i coordinate.
Definition at line 538 of file grid.hpp. Referenced by Arak::Grid< ItemType >::RectangleCellIteratorBase< GridType, CellType >::operator++(), and Arak::Grid< ItemType >::RectangleCellIteratorBase< GridType, CellType >::RectangleCellIteratorBase(). |
|
|||||||||
|
The current j coordinate.
Definition at line 543 of file grid.hpp. Referenced by Arak::Grid< ItemType >::RectangleCellIteratorBase< GridType, CellType >::operator++(), and Arak::Grid< ItemType >::RectangleCellIteratorBase< GridType, CellType >::RectangleCellIteratorBase(). |
|
|||||||||
|
The largest j coordinate.
Definition at line 553 of file grid.hpp. Referenced by Arak::Grid< ItemType >::RectangleCellIteratorBase< GridType, CellType >::operator++(), and Arak::Grid< ItemType >::RectangleCellIteratorBase< GridType, CellType >::RectangleCellIteratorBase(). |
|
|||||||||
|
The smallest j coordinate.
Definition at line 548 of file grid.hpp. Referenced by Arak::Grid< ItemType >::RectangleCellIteratorBase< GridType, CellType >::operator++(), and Arak::Grid< ItemType >::RectangleCellIteratorBase< GridType, CellType >::RectangleCellIteratorBase(). |
1.3.6