|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.jhu.htm.core.Domain
A Domain manages a list of Convexes. This is the data structure that can define any area on the sphere. With the intersect method, the htm index returns the trixels that intersect with the area specified by the current Domain instance. There are two lists returned: one for the nodes fully contained in the area and one for the triangles which lie only partially in the domain.
Current Version =============== ID: $Id: Domain.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 $
Field Summary | |
protected int |
olevel
|
Constructor Summary | |
Domain()
Default constructor |
Method Summary | |
void |
add(Convex c)
Add a convex |
void |
add(Domain d)
Add all convexces of given domain to this one - simple union |
void |
clear()
Clear domain, empty convex list |
boolean |
contains(Vector3d p)
|
Convex |
getConvex(int i)
Fetch the convex number i |
int |
getNumberOfConvexes()
Return the number of convexes in this domain |
int |
getOlevel()
|
boolean |
intersect(HTMindexImp idx,
HTMrange range,
boolean varlen)
Intersect with index. |
void |
setOlevel(int lev)
|
Domain |
simplify()
|
java.lang.String |
toString()
Convert domain to a string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected int olevel
Constructor Detail |
public Domain()
Method Detail |
public void setOlevel(int lev)
public int getOlevel()
public void add(Convex c)
public boolean intersect(HTMindexImp idx, HTMrange range, boolean varlen)
public Convex getConvex(int i)
public int getNumberOfConvexes()
public java.lang.String toString()
toString
in class java.lang.Object
public void clear()
public Domain simplify()
public boolean contains(Vector3d p)
public void add(Domain d)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |