Package uk.ac.starlink.ttools.cone
Class ConeQueryCoverage
- java.lang.Object
-
- uk.ac.starlink.ttools.cone.MocCoverage
-
- uk.ac.starlink.ttools.cone.ConeQueryCoverage
-
- All Implemented Interfaces:
Coverage
public class ConeQueryCoverage extends MocCoverage
Coverage implementation giving the area defined by a sequence of positional (cone search-like) queries.- Since:
- 9 Jan 2012
- Author:
- Mark Taylor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface uk.ac.starlink.ttools.cone.Coverage
Coverage.Amount
-
-
Constructor Summary
Constructors Constructor Description ConeQueryCoverage(ConeQueryRowSequence qseq, double resolutionDeg)
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected cds.moc.HealpixMoc
createMoc()
Constructs the MOC which will define this object's coverage.static void
main(java.lang.String[] args)
-
Methods inherited from class uk.ac.starlink.ttools.cone.MocCoverage
discOverlaps, getAmount, getMoc, initCoverage
-
-
-
-
Constructor Detail
-
ConeQueryCoverage
public ConeQueryCoverage(ConeQueryRowSequence qseq, double resolutionDeg)
Constructor.- Parameters:
qseq
- defines a sequence of cone searchesresolutionDeg
- approximate resolution of coverage in degrees
-
-
Method Detail
-
createMoc
protected cds.moc.HealpixMoc createMoc() throws java.io.IOException
Description copied from class:MocCoverage
Constructs the MOC which will define this object's coverage. This method, which may be time-consuming, will be called a maximum of once by theMocCoverage.initCoverage()
method ofMocCoverage
, and should not be called by anyone else.- Specified by:
createMoc
in classMocCoverage
- Returns:
- new MOC defining footprint
- Throws:
java.io.IOException
-
main
public static void main(java.lang.String[] args) throws java.io.IOException
- Throws:
java.io.IOException
-
-