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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEPSG identifier of an operation method for this variant.The expected name pattern of an operation method for this variant.static Sinusoidal.Variant
Returns the enum constant of this type with the specified name.static Sinusoidal.Variant[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface org.apache.sis.referencing.operation.projection.ProjectionVariant
useAuthalicRadius
-
Enum Constant Details
-
PSEUDO
The "Pseudo sinusoidal equal-area" projection.
-
-
Field Details
-
operationName
Name pattern for this variant.
-
-
Constructor Details
-
Variant
Creates a new enumeration value.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getOperationNamePattern
The expected name pattern of an operation method for this variant.- Specified by:
getOperationNamePattern
in interfaceProjectionVariant
- Returns:
- the operation name pattern for this variant, or
null
if none.
-
getIdentifier
EPSG identifier of an operation method for this variant.- Specified by:
getIdentifier
in interfaceProjectionVariant
- Returns:
- EPSG identifier for this variant, or
null
if none.
-