Mercator
|
A spiral around x,y. More...
#include <RandCache.h>
Public Member Functions | |
SpiralOrdering (int x, int y) | |
Constructor. | |
RandCache::size_type | operator() (int x, int y) |
Determine the order. | |
Private Attributes | |
int | m_x |
The centre x coordinate of the spiral. | |
int | m_y |
The centre y coordinate of the spiral. |
A spiral around x,y.
SpiralOrdering::SpiralOrdering | ( | int | x, |
int | y | ||
) | [inline] |
Constructor.
x | centre x coordinate of the spiral. |
y | centre y coordinate of the spiral. |