uk.ac.starlink.ttools.cone
Class ConeQueryCoverage

java.lang.Object
  extended by uk.ac.starlink.ttools.cone.MocCoverage
      extended by 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
ConeQueryCoverage(ConeQueryRowSequence qseq, double resolutionDeg)
          Constructor.
 
Method Summary
protected  cds.moc.HealpixMoc createMoc()
          Constructs the MOC which will define this object's coverage.
static void main(String[] args)
           
 
Methods inherited from class uk.ac.starlink.ttools.cone.MocCoverage
discOverlaps, getAmount, getMoc, initCoverage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConeQueryCoverage

public ConeQueryCoverage(ConeQueryRowSequence qseq,
                         double resolutionDeg)
Constructor.

Parameters:
qseq - defines a sequence of cone searches
resolutionDeg - approximate resolution of coverage in degrees
Method Detail

createMoc

protected cds.moc.HealpixMoc createMoc()
                                throws 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 the MocCoverage.initCoverage() method of MocCoverage, and should not be called by anyone else.

Specified by:
createMoc in class MocCoverage
Returns:
new MOC defining footprint
Throws:
IOException

main

public static void main(String[] args)
                 throws IOException
Throws:
IOException


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.