Package cds.healpix

Class ToCellItDecorator

java.lang.Object
cds.healpix.ToCellItDecorator
All Implemented Interfaces:
Iterator<Cell>

public final class ToCellItDecorator extends Object implements Iterator<Cell>
Range iterator to cell iterator decorator. We could have made this decorator more generic by replacing both the Range and the Cell classes by an interface, adding a object building a Cell from a Range plus the cell depth and hash.
Author:
F.-X Pineau
  • Constructor Details

    • ToCellItDecorator

      public ToCellItDecorator(int dim, int absoluteDephtMax, Iterator<Range> decorated)
      Parameters:
      dim - dimension of the z-order curve. For HEALPix, dim = 2, for Time, dim = 1
      absoluteDephtMax - for HEALPix, absoluteDephtMax = 29
      decorated -
  • Method Details