cds.astro
Class CheckRadius
java.lang.Object
cds.astro.CheckRadius
- All Implemented Interfaces:
- CheckPosition
- class CheckRadius
- extends java.lang.Object
- implements CheckPosition
Check a Circular Target
return a Vector with marked Qboxes
Constructor Summary |
(package private) |
CheckRadius(Coo c,
double r)
Constructor |
Method Summary |
int |
checkTarget(int qbox)
Verify Target in Circle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XY
double[] XY
target
Coocube target
u0
double[] u0
radius
double radius
sh2
double sh2
s2r
double s2r
abox
Qbox abox
QBOX_NONE
public static final int QBOX_NONE
- See Also:
- Constant Field Values
QBOX_ANY
public static final int QBOX_ANY
- See Also:
- Constant Field Values
QBOX_SOME
public static final int QBOX_SOME
- See Also:
- Constant Field Values
DEBUG
public static final boolean DEBUG
- See Also:
- Constant Field Values
CheckRadius
CheckRadius(Coo c,
double r)
- Constructor
- Parameters:
c
- the center of the targetr
- the target radius, in degrees.
checkTarget
public int checkTarget(int qbox)
- Verify Target in Circle
- Specified by:
checkTarget
in interface CheckPosition
- Parameters:
qbox
- the Qbox to check
- Returns:
- QBOX_NONE / QBOX_ANY / QBOX_SOME