public interface HashComputerWithAux extends HierarchyItem
Modifier and Type | Method and Description |
---|---|
int |
depth()
Returns the depth of the hash computed by
hash(double, double, double) method. |
long |
hash(double lonRad,
double latRad,
double auxValue)
Returns the HEALPix hash value of the given coordinate at this object depth.
|
int depth()
hash(double, double, double)
method.depth
in interface HierarchyItem
hash(double, double, double)
method.long hash(double lonRad, double latRad, double auxValue)
lonRad
- longitude in radians, must support reasonably large positive and negative values
producing accurate results with a naive range reduction like modulo 2*pi
(i.e. without having to resort on Cody-Waite or Payne Hanek range reduction).latRad
- latitude in [-pi/2, pi/2] radiansauxValue
- value on the 3rd (the auxiliary) axis.Copyright © 2018 F.-X. Pineau, CDS, Observatoire Astronomique de Strasbourg, Universite de Strasbourg, CNRS. All Rights Reserved.