|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.cone.HtmTiling
public class HtmTiling
HTM implementation of SkyTiling.
Constructor Summary | |
---|---|
HtmTiling(edu.jhu.htm.core.HTMindexImp htm)
Constructs an HtmTiling given an HTMindexImp. |
|
HtmTiling(int level)
Constructs an HtmTiling with a given level. |
Method Summary | |
---|---|
long |
getPositionTile(double ra,
double dec)
Returns the index of the tile in which a given sky position falls. |
long[] |
getTileRange(double ra,
double dec,
double radius)
Returns the bounds of a range of pixels which is known to cover a given cone on the sky. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HtmTiling(edu.jhu.htm.core.HTMindexImp htm)
htm
- HTM index objectpublic HtmTiling(int level)
level
- HTM levelMethod Detail |
---|
public long getPositionTile(double ra, double dec)
SkyTiling
getPositionTile
in interface SkyTiling
ra
- right ascension in degreesdec
- declination in degrees
public long[] getTileRange(double ra, double dec, double radius)
SkyTiling
null
may be returned.
getTileRange
in interface SkyTiling
ra
- right ascension in degreesdec
- declination in degreesradius
- radius in degrees
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |