Enum CassiniSoldner.Variant

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

private static enum CassiniSoldner.Variant extends Enum<CassiniSoldner.Variant> implements ProjectionVariant
The hyperbolic variants of this projection. VANUA is the special case of Vanua Levu Grid, which is the only hyperbolic variant for which reverse projection is supported.
See Also:
  • Enum Constant Details

    • DEFAULT

      public static final CassiniSoldner.Variant DEFAULT
      The Cassini-Soldner projection.
    • HYPERBOLIC

      public static final CassiniSoldner.Variant HYPERBOLIC
      The "Hyperbolic Cassini-Soldner" variant, which is non-invertible.
    • VANUA

      public static final CassiniSoldner.Variant VANUA
      The special case of "Vanua Levu Grid" at φ₀=16°15′S. This is the only hyperbolic variant for which reverse projection is supported. This special case is detected by checking the value of the latitude of origin.
  • Field Details

    • operationName

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

      private final String identifier
      EPSG identifier for this variant.
  • Constructor Details

    • Variant

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

    • values

      public static CassiniSoldner.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 CassiniSoldner.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.