public class Tiling extends Object
Index are points in the original multidimensional index. Tiles are points in the tiled space.
Each tile has the same size, given by tileSize.
Constructor and Description |
---|
Tiling(int[] shape,
int[] tileSize)
Create a Tiling
|
public Tiling(int[] shape, int[] tileSize)
shape
- overall shape of the dataset's index spacetileSize
- tile size. may be larger than the shape.public int[] tile(int[] pt)
pt
- index pointpublic int order(int[] pt)
pt
- index pointpublic int compare(int[] p1, int[] p2)
p1
- index point 1p2
- index point 2Copyright © 1999–2013 UCAR/Unidata. All rights reserved.