|
||||||||
| 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.EllipticalRegion
public class EllipticalRegion
Elliptical region on the sky, defined by its center + semi-major axes. The spherical ellipse is defined as the set of points having the sum of their distances to 2 foci F0 and F1 constant; the relation between a (semi-major axis), b (semi-minor axis) and c (semi-distance between foci) is cosa = cosb . cosc. The equation of the spherical ellipse is, if f0 and f1 are the distance to the foci: cos2(f0) + cos2(f1) - 2 cos(2a) cos(f0) cos(f1) = sin2(2a) which is a quadratic expression in x, y, z.
| Field Summary |
|---|
| Fields inherited from class cds.astro.AbstractRegion |
|---|
centroid, DISJOINT, INCLUDES, INTERSECTS, IS_PARTOF, maxrad, minrad |
| Method Summary | |
|---|---|
double |
area()
Area of an elliptical region. |
int |
checkCircle(Coo point,
double r)
Verify a circle intersects an Ellipse |
boolean |
checkCoo(Coo point)
Verify point within Ellipse |
int |
checkQbox(int qbox)
Intersection of a Qbox with the Ellipse |
java.lang.String |
toString()
Edition of an Ellipse 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 Regionpublic double area()
area in class Regionpublic boolean checkCoo(Coo point)
checkCoo in class Regionpoint - a position
public int checkCircle(Coo point,
double r)
checkCircle in class Regionpoint - a positionr - radius (degrees)
public int checkQbox(int qbox)
checkQbox in class AbstractRegionqbox - the Qbox to check
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||