Enum ObliqueMercator.Variant

java.lang.Object
java.lang.Enum<ObliqueMercator.Variant>
org.apache.sis.referencing.operation.projection.ObliqueMercator.Variant
All Implemented Interfaces:
Serializable, Comparable<ObliqueMercator.Variant>, java.lang.constant.Constable, ProjectionVariant
Enclosing class:
ObliqueMercator

private static enum ObliqueMercator.Variant extends Enum<ObliqueMercator.Variant> implements ProjectionVariant
Variants of Oblique Mercator projection.
  • Enum Constant Details

    • DEFAULT

      public static final ObliqueMercator.Variant DEFAULT
      The Hotine Oblique Mercator (variant A) projection.
    • CENTER

      public static final ObliqueMercator.Variant CENTER
      The Hotine Oblique Mercator (variant B) projection.
    • TWO_POINTS

      public static final ObliqueMercator.Variant TWO_POINTS
      The "Oblique Mercator" projection specified by two points on the central line.
    • TWO_POINTS_CENTER

      public static final ObliqueMercator.Variant TWO_POINTS_CENTER
      The "Oblique Mercator" projection specified by two points on the central line.
  • Field Details

    • operationName

      private final Pattern operationName
      Name pattern for this variant.
    • identifier

      private final String identifier
      EPSG identifier for this variant.
    • twoPoints

      final boolean twoPoints
      Whether the projection has its central line defined by two points instead of an azimuth angle. The two points variants are used by ESRI.
    • center

      final boolean center
      Whether easting/northing values are defined at projection center instead of at coordinate system natural origin. This is false for Hotine Oblique Mercator (variant A) and true for Hotine Oblique Mercator (variant B).
  • Constructor Details

    • Variant

      private Variant(String operationName, String identifier, boolean twoPoints, boolean center)
      Creates a new enumeration value.
  • Method Details

    • values

      public static ObliqueMercator.Variant[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ObliqueMercator.Variant valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getOperationNamePattern

      public Pattern getOperationNamePattern()
      The expected name pattern of an operation method for this variant.
      Specified by:
      getOperationNamePattern in interface ProjectionVariant
      Returns:
      the operation name pattern for this variant, or null if none.
    • getIdentifier

      public String getIdentifier()
      EPSG identifier of an operation method for this variant.
      Specified by:
      getIdentifier in interface ProjectionVariant
      Returns:
      EPSG identifier for this variant, or null if none.