| Package | Description |
|---|---|
| astro | |
| htm.core |
| Modifier and Type | Method and Description |
|---|---|
static void |
HtmIndex.main(String[] as) |
| Modifier and Type | Method and Description |
|---|---|
static double |
HTMfunc.distance(long htmId1,
long htmId2)
return the angular distance between two htmids gets the vectors of the
mid points and uses thoose to compute distance
|
double |
HTMindex.distance(long htmId1,
long htmId2)
angular distance between the two ids
|
double |
HTMindexImp.distance(long htmId1,
long htmId2)
calls HTMfunc
|
static double |
HTMfunc.distance(String htm1,
String htm2)
return the angular distance between two htm names gets the viectors of
the mid points and uses thoose to compute distance
|
double |
HTMindex.distance(String htmName1,
String htmName2)
angular distance between the two names
|
double |
HTMindexImp.distance(String htmName1,
String htmName2)
calls HTMfunc
|
protected void |
HTMrangeIterator.getNext() |
static void |
ErrorHandler.handleError(int errorNo) |
static String |
HTMfunc.idToName(long id)
Walk the bits of the id and convert it to a string like N012.
|
String |
HTMindex.idToName(long htmId)
Convert id number to Symbolic name
|
String |
HTMindexImp.idToName(long id)
calls HTMfunc
|
static double[] |
HTMfunc.idToPoint(long htmId)
gets the name from the id and calls idToPoint with it.
|
Vector3d |
HTMindex.idToPoint(long htmId)
return center vector of the tringle which htmId relates to
|
Vector3d |
HTMindexImp.idToPoint(long htmId)
for the given id return the vector at the center of the triangle calls
HTMfunc
|
static double[] |
HTMfunc.idToPoint(String name)
for a given ID get back the approximate center of the triangle.
|
Vector3d |
HTMindex.idToPoint(String htmName)
return center vector of the tringle which htmName relates to
|
Vector3d |
HTMindexImp.idToPoint(String htmName)
for the given id return the vector at the center of the triangle calls
HTMfunc
|
String |
HTMindex.lookup(double ra,
double dec)
return a HTM name like N2121 for a given position
|
String |
HTMindexImp.lookup(double ra,
double dec)
find a node by giving a ra,dec in degrees.
|
static String |
HTMfunc.lookup(double x,
double y,
double z,
int depth) |
static String |
HTMfunc.lookup(double ra,
double dec,
int depth)
For given ra and dec lookup the HTMID to given depth HTM works in vectors
so this basically converts ra dec to a vector and calls lookup for the
vector.
|
String |
HTMindex.lookup(Vector3d point)
return a HTM name like N2121 for a given vector
|
String |
HTMindexImp.lookup(Vector3d v)
find a node by giving a vector.
|
long |
HTMindex.lookupId(double ra,
double dec)
return a HTM id number for a given position
|
long |
HTMindexImp.lookupId(double ra,
double dec)
find a node by giving a ra,dec in degrees.
|
static long |
HTMfunc.lookupId(double x,
double y,
double z,
int depth)
looks up the name of a vector x,y,z and converts the name to an id
|
static long |
HTMfunc.lookupId(double ra,
double dec,
int depth) |
long |
HTMindex.lookupId(Vector3d point)
return a HTM id number for a given vector
|
long |
HTMindexImp.lookupId(Vector3d v)
find a node by giving a vector.
|
long[] |
HTMrange.minmax() |
static long |
HTMfunc.nameToId(String name)
for a given name i.e.
|
long |
HTMindex.nameToId(String name)
Convert Symbolic name to an id number
|
long |
HTMindexImp.nameToId(String name)
This calls HTMfunc .
|
protected static int |
HTMfunc.startpane(double[] v1,
double[] v2,
double[] v3,
double xin,
double yin,
double zin,
StringBuffer name)
where to start in the HTM quadtree when looking for a vectors home xin
yin zin are thin input vector v1 v2 v3 and name are loaded with the
initial tringle points and the name of the triangle
|
String |
HTMrange.toString(boolean symbolic)
converts the lo,his pairs to HTM names if sybolic is true
|
| Constructor and Description |
|---|
HTMindexImp(double degResolution)
COnstructor for index - pass your desired resolution in degrees this will
contruct a HTM of level such that the triabgle widht is just less than
the desired resolution.
|
HTMrangeIterator(HTMrange range,
boolean symbolic) |