|
||||||||
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.CircularRegion
public class CircularRegion
CircularRegion is a circular region on the sky, defined by its center and a radius.
Field Summary |
---|
Fields inherited from class cds.astro.AbstractRegion |
---|
centroid, DISJOINT, INCLUDES, INTERSECTS, IS_PARTOF, maxrad, minrad |
Method Summary | |
---|---|
double |
area()
Area of circular region. |
int |
checkCircle(Coo centre,
double radius)
Verify intersection with another circle |
boolean |
checkCoo(Coo point)
Verify point within CircularRegion |
int |
checkQbox(int qbox)
Intersection of a Qbox with the Circle |
java.lang.String |
toString()
Edition of a Circular region |
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 java.lang.String toString()
toString
in class Region
public 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 another circular regionradius
- 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 |