|
||||||||
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.ConvexRegion
public class ConvexRegion
Convex 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 polygon |
int |
checkCircle(Coo point,
double r)
Verify a circle intersects a Convex polygon |
boolean |
checkCoo(Coo point)
Verify point within Polygon |
int |
checkQbox(int qbox)
Verify intersection Qbox + Convex (polygon) |
java.lang.String |
toString()
Edition of a 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 final 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 point, double r)
checkCircle
in class Region
point
- center of circler
- 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 |