area: routine to precompute the area of a node using
AREA = 4*arctan sqrt(tan(s/2)tan((s-a)/2)tan((s-b)/2)tan((s-c)/2))
with s = (a+b+c)/2
(with many thanks to Eduard Masana @ University of Barcelona)
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.
idLevel is a trusting method (assumes that the id is well formed and
valid) that returns the level of the trixel represented by the given
64 bit htmId.
IDSIZE -
Static variable in class edu.jhu.htm.core.HTMfunc
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.
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