BucketOrderpublic class SpiralBucketOrder extends java.lang.Object implements BucketOrder
| Constructor | Description |
|---|---|
SpiralBucketOrder() |
| Modifier and Type | Method | Description |
|---|---|---|
int[] |
getBucketSequence(int nbw,
int nbh) |
Computes the order in which each coordinate on the screen should be
visited.
|
public int[] getBucketSequence(int nbw,
int nbh)
BucketOrdergetBucketSequence in interface BucketOrdernbw - number of buckets in the X directionnbh - number of buckets in the Y direction