Class AreaDomain

  • All Implemented Interfaces:
    uk.ac.starlink.table.Domain<AreaMapper>

    public class AreaDomain
    extends java.lang.Object
    implements uk.ac.starlink.table.Domain<AreaMapper>
    Domain representing two-dimensional regions on a common surface. The surface may be a plane or the surface of a sphere.

    The sole instance of this singleton class is available as the INSTANCE static member.

    Since:
    14 Apr 2020
    Author:
    Mark Taylor
    • Field Detail

      • INSTANCE

        public static final AreaDomain INSTANCE
        Singleton instance.
      • STCS_MAPPER

        public static final AreaMapper STCS_MAPPER
        STC-S - see TAP 1.0 section 6.
      • CIRCLE_MAPPER

        public static final AreaMapper CIRCLE_MAPPER
        Mapper for (x,y,r) circles - see DALI 1.1 section 3.3.6.
      • POLYGON_MAPPER

        public static final AreaMapper POLYGON_MAPPER
        Mapper for (xi,yi,...) polygons - see DALI 1.1 section 3.3.7.
      • POINT_MAPPER

        public static final AreaMapper POINT_MAPPER
        Mapper for (x,y) points - see DALI 1.1 section 3.3.5.
      • ASCIIMOC_MAPPER

        public static final AreaMapper ASCIIMOC_MAPPER
        Mapper for ASCII format MOCs.
    • Method Detail

      • getDomainName

        public java.lang.String getDomainName()
        Specified by:
        getDomainName in interface uk.ac.starlink.table.Domain<AreaMapper>
      • getMappers

        public AreaMapper[] getMappers()
        Specified by:
        getMappers in interface uk.ac.starlink.table.Domain<AreaMapper>
      • getProbableMapper

        public AreaMapper getProbableMapper​(uk.ac.starlink.table.ValueInfo info)
        Specified by:
        getProbableMapper in interface uk.ac.starlink.table.Domain<AreaMapper>
      • getPossibleMapper

        public AreaMapper getPossibleMapper​(uk.ac.starlink.table.ValueInfo info)
        Specified by:
        getPossibleMapper in interface uk.ac.starlink.table.Domain<AreaMapper>