public interface HTMindex
Current Version =============== ID: $Id: HTMindex.java,v 1.2 2003/02/19 15:46:11 womullan Exp $ Revision: $Revision: 1.2 $ Date/time: $Date: 2003/02/19 15:46:11 $
| Modifier and Type | Method and Description |
|---|---|
double |
area(String htmName)
give the area of the triangle secrad for HTM name given
|
Domain |
compliment(Domain d)
Return a new domain which contains everything not in the given domain
|
boolean |
contains(Domain d,
Vector3d p)
does the domain coaintain thie given point
|
double |
distance(long htmId1,
long htmId2)
angular distance between the two ids
|
double |
distance(String htmName1,
String htmName2)
angular distance between the two names
|
String |
idToName(long htmId)
Convert id number to Symbolic name
|
Vector3d |
idToPoint(long htmId)
return center vector of the tringle which htmId relates to
|
Vector3d |
idToPoint(String htmName)
return center vector of the tringle which htmName relates to
|
HTMrange |
intersect(Domain d)
Return all HTMs which fall inside the given domain
|
Domain |
intersection(Domain d1,
Domain d2)
Return a new domain contiainig common parts of the two domains
|
String |
lookup(double ra,
double dec)
return a HTM name like N2121 for a given position
|
String |
lookup(Vector3d point)
return a HTM name like N2121 for a given vector
|
long |
lookupId(double ra,
double dec)
return a HTM id number for a given position
|
long |
lookupId(Vector3d point)
return a HTM id number for a given vector
|
long |
nameToId(String name)
Convert Symbolic name to an id number
|
Domain |
simplify(Domain d)
return a HTM id number for a given position
|
Domain |
smooth(Domain d)
Perform lossy simplification of the domain
|
Domain |
union(Domain d1,
Domain d2)
Return a new domain contiainig all parts of the two domains
|
String lookup(Vector3d point) throws HTMException
HTMExceptionString lookup(double ra, double dec) throws HTMException
HTMExceptionlong lookupId(Vector3d point) throws HTMException
HTMExceptionlong lookupId(double ra,
double dec)
throws HTMException
HTMExceptionVector3d idToPoint(long htmId) throws HTMException
HTMExceptionVector3d idToPoint(String htmName) throws HTMException
HTMExceptionlong nameToId(String name) throws HTMException
HTMExceptionString idToName(long htmId) throws HTMException
HTMExceptiondouble area(String htmName)
double distance(long htmId1,
long htmId2)
throws HTMException
HTMExceptiondouble distance(String htmName1, String htmName2) throws HTMException
HTMExceptionDomain intersection(Domain d1, Domain d2)
Domain union(Domain d1, Domain d2)
Domain compliment(Domain d)