|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcds.astro.AbstractRegion
cds.astro.Region
cds.astro.ZonalRegion
public class ZonalRegion
Zone Target (e.g. Rectangle, polygon) return a Vector with marked Qboxes
Field Summary |
---|
Fields inherited from class cds.astro.AbstractRegion |
---|
centroid, DISJOINT, INCLUDES, INTERSECTS, IS_PARTOF, maxrad, minrad |
Method Summary | |
---|---|
double |
area()
Area of a Zone |
int |
checkCircle(Coo centre,
double radius)
Verify a circle intersects a Zone |
boolean |
checkCoo(Coo point)
Verify point within Zone |
int |
checkQbox(int qbox)
Verify intersection Qbox + Zone (polygon) |
java.lang.String |
toString()
Edition of a Zone |
Methods inherited from class cds.astro.Region |
---|
box, circle, ellipse, ellipse, polygon, rotatedBox, zone, zone |
Methods inherited from class cds.astro.AbstractRegion |
---|
check1 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public final java.lang.String toString()
toString
in class Region
public final double area()
area
in class Region
public boolean checkCoo(Coo point)
checkCoo
in class Region
point
- a position
public int checkCircle(Coo centre, double radius)
checkCircle
in class Region
centre
- center of circleradius
- radius of circle
public int checkQbox(int qbox)
checkQbox
in class AbstractRegion
qbox
- the Qbox to check
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |