CoverageConeQueryCoverage, UrlMocCoveragepublic abstract class MocCoverage extends java.lang.Object implements Coverage
Coverage.Amount| Modifier | Constructor | Description |
|---|---|---|
protected |
MocCoverage(cds.moc.HealpixImpl hpi) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected abstract cds.moc.HealpixMoc |
createMoc() |
Constructs the MOC which will define this object's coverage.
|
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.
|
cds.moc.HealpixMoc |
getMoc() |
Returns the MOC object associated with this footprint.
|
void |
initCoverage() |
Must be called before any of the query methods are used.
|
protected MocCoverage(cds.moc.HealpixImpl hpi)
hpi - HEALPix implementation to use for calculationsprotected abstract cds.moc.HealpixMoc createMoc()
throws java.io.IOException
initCoverage() method of
MocCoverage, and should not be called by anyone else.java.io.IOExceptionpublic void initCoverage()
throws java.io.IOException
CoverageCoverage.getAmount() returns non-null,
this method will return directly.
Following a successful or error return of this method,
Coverage.getAmount() will return non-null.initCoverage in interface Coveragejava.io.IOExceptionpublic Coverage.Amount getAmount()
CoverageCoverage.initCoverage() must be called before use.public boolean discOverlaps(double alphaDeg,
double deltaDeg,
double radiusDeg)
CoveragediscOverlaps in interface CoveragealphaDeg - central longitude in degreesdeltaDeg - central latitude in degreesradiusDeg - radius in degreespublic cds.moc.HealpixMoc getMoc()
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.