|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Coverage
Defines coverage of a sky positional search service.
Nested Class Summary | |
---|---|
static class |
Coverage.Amount
Describes a type of coverage. |
Method Summary | |
---|---|
boolean |
discOverlaps(double alphaDeg,
double deltaDeg,
double radiusDeg)
Indicates whether a given disc on the sphere overlaps, or may overlap with this coverage. |
Coverage.Amount |
getAmount()
Returns the amount category for coverage. |
void |
initCoverage()
Must be called before any of the query methods are used. |
Method Detail |
---|
void initCoverage() throws IOException
getAmount()
returns non-null,
this method will return directly.
Following a successful or error return of this method,
getAmount()
will return non-null.
IOException
Coverage.Amount getAmount()
initCoverage()
must be called before use.
boolean discOverlaps(double alphaDeg, double deltaDeg, double radiusDeg)
alphaDeg
- central longitude in degreesdeltaDeg
- central latitude in degreesradiusDeg
- radius in degrees
IllegalStateException
- if initCoverage
has not been called
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |