Enum Sinusoidal.Variant

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

private static enum Sinusoidal.Variant extends Enum<Sinusoidal.Variant> implements ProjectionVariant
Variants of Sinusoidal projection. Those variants modify the way the projections are constructed (e.g. in the way parameters are interpreted), but formulas are basically the same after construction.

We do not provide such codes in public API because they duplicate the functionality of OperationMethod instances. We use them only for constructors convenience.

  • Enum Constant Details

    • PSEUDO

      public static final Sinusoidal.Variant PSEUDO
      The "Pseudo sinusoidal equal-area" projection.
  • Field Details

    • operationName

      private final Pattern operationName
      Name pattern for this variant.
  • Constructor Details

    • Variant

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

    • values

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