public class DiagonalBucketOrder extends java.lang.Object implements BucketOrder
| Constructor and Description |
|---|
DiagonalBucketOrder() |
| Modifier and Type | Method and 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