Class AsciiMocCoverage

java.lang.Object
uk.ac.starlink.ttools.cone.MocCoverage
uk.ac.starlink.ttools.cone.AsciiMocCoverage
All Implemented Interfaces:
Coverage

public class AsciiMocCoverage extends MocCoverage
MOC coverage implementation which uses the ASCII serialization.
Since:
29 Nov 2023
Author:
Mark Taylor
See Also:
  • Constructor Details

    • AsciiMocCoverage

      public AsciiMocCoverage(String asciiMoc)
      Constructor.
      Parameters:
      asciiMoc - MOC encoded using the ASCII MOC serialization
  • Method Details

    • 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, or null
      Throws:
      IOException