|
Mercator
|
A spiral around x,y. More...
#include <RandCache.h>
Public Member Functions | |
| SpiralOrdering (int x, int y) | |
| Constructor. More... | |
| 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.
|
inline |
Constructor.
| x | centre x coordinate of the spiral. |
| y | centre y coordinate of the spiral. |
1.8.15