Enum PolarStereographic.Variant
java.lang.Object
java.lang.Enum<PolarStereographic.Variant>
org.apache.sis.referencing.operation.projection.PolarStereographic.Variant
- All Implemented Interfaces:
Serializable
,Comparable<PolarStereographic.Variant>
,java.lang.constant.Constable
,ProjectionVariant
- Enclosing class:
PolarStereographic
private static enum PolarStereographic.Variant
extends Enum<PolarStereographic.Variant>
implements ProjectionVariant
Variants of Polar Stereographic 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.
Those variants are not exactly the same than variants A, B and C used by EPSG, but they are closely related.
We do not provide such codes in public API because they duplicate the functionality of
OperationMethod
instances. We use them only for constructors convenience.
The default case is B
.
-
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 PolarStereographic.Variant
Returns the enum constant of this type with the specified name.static PolarStereographic.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
-
A
The "Polar Stereographic (Variant A)" projection. -
B
The "Polar Stereographic (Variant B)" projection. -
C
The "Polar Stereographic (Variant C)" projection. -
NORTH
"Stereographic North Pole" projection (ESRI). -
SOUTH
"Stereographic South Pole" projection (ESRI).
-
-
Field Details
-
operationName
Name pattern for this variant. -
identifier
EPSG identifier 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.
-