|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use HTMException | |
edu.jhu.htm.core | This package implements the core funtionality of the Hierarchical Triangular Mesh (HTM) library. |
Uses of HTMException in edu.jhu.htm.core |
Methods in edu.jhu.htm.core that throw HTMException | |
protected void |
HTMrangeIterator.getNext()
|
static void |
ErrorHandler.handleError(int errorNo)
|
protected static int |
HTMfunc.startpane(double[] v1,
double[] v2,
double[] v3,
double xin,
double yin,
double zin,
java.lang.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 |
static java.lang.String |
HTMfunc.lookup(double x,
double y,
double z,
int depth)
|
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 java.lang.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. |
static long |
HTMfunc.lookupId(double ra,
double dec,
int depth)
|
static long |
HTMfunc.nameToId(java.lang.String name)
for a given name i.e. |
static java.lang.String |
HTMfunc.idToName(long id)
Walk the bits of the id and convert it to a string like N012. |
static double[] |
HTMfunc.idToPoint(java.lang.String name)
for a given ID get back the approximate center of the triangle. |
static double[] |
HTMfunc.idToPoint(long htmId)
gets the name from the id and calls idToPoint with it. |
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 |
static double |
HTMfunc.distance(java.lang.String htm1,
java.lang.String htm2)
return the angular distance between two htm names gets the viectors of the mid points and uses thoose to compute distance |
java.lang.String |
HTMindex.lookup(Vector3d point)
return a HTM name like N2121 for a given vector |
java.lang.String |
HTMindex.lookup(double ra,
double dec)
return a HTM name like N2121 for a given position |
long |
HTMindex.lookupId(Vector3d point)
return a HTM id number for a given vector |
long |
HTMindex.lookupId(double ra,
double dec)
return a HTM id number for a given position |
Vector3d |
HTMindex.idToPoint(long htmId)
return center vector of the tringle which htmId relates to |
Vector3d |
HTMindex.idToPoint(java.lang.String htmName)
return center vector of the tringle which htmName relates to |
long |
HTMindex.nameToId(java.lang.String name)
Convert Symbolic name to an id number |
java.lang.String |
HTMindex.idToName(long htmId)
Convert id number to Symbolic name |
double |
HTMindex.distance(long htmId1,
long htmId2)
angular distance between the two ids |
double |
HTMindex.distance(java.lang.String htmName1,
java.lang.String htmName2)
angular distance between the two names |
java.lang.String |
HTMrange.toString(boolean symbolic)
converts the lo,his pairs to HTM names if sybolic is true |
long |
HTMindexImp.nameToId(java.lang.String name)
This calls HTMfunc . |
java.lang.String |
HTMindexImp.idToName(long id)
calls HTMfunc |
long |
HTMindexImp.lookupId(Vector3d v)
find a node by giving a vector. |
java.lang.String |
HTMindexImp.lookup(Vector3d v)
find a node by giving a vector. |
java.lang.String |
HTMindexImp.lookup(double ra,
double dec)
find a node by giving a ra,dec in degrees. |
long |
HTMindexImp.lookupId(double ra,
double dec)
find a node by giving a ra,dec in degrees. |
Vector3d |
HTMindexImp.idToPoint(long htmId)
for the given id return the vector at the center of the triangle calls HTMfunc |
Vector3d |
HTMindexImp.idToPoint(java.lang.String htmName)
for the given id return the vector at the center of the triangle calls HTMfunc |
double |
HTMindexImp.distance(long htmId1,
long htmId2)
calls HTMfunc |
double |
HTMindexImp.distance(java.lang.String htmName1,
java.lang.String htmName2)
calls HTMfunc |
Constructors in edu.jhu.htm.core that throw HTMException | |
HTMrangeIterator(HTMrange range,
boolean symbolic)
|
|
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. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |