Enum LambertConicConformal.Variant
java.lang.Object
java.lang.Enum<LambertConicConformal.Variant>
org.apache.sis.referencing.operation.projection.LambertConicConformal.Variant
- All Implemented Interfaces:
Serializable
,Comparable<LambertConicConformal.Variant>
,java.lang.constant.Constable
,ProjectionVariant
- Enclosing class:
- LambertConicConformal
private static enum LambertConicConformal.Variant
extends Enum<LambertConicConformal.Variant>
implements ProjectionVariant
Variants of Lambert Conical Conformal 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 1SP and 2SP 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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe "Lambert Conic Conformal (2SP Belgium)" projection.The "Lambert Conic Conformal (2SP Michigan)" projection.The "Lambert Conic Conformal (1SP)" projection.The "Lambert Conic Conformal (2SP)" projection.The "Lambert Conic Conformal (West Orientated)" projection. -
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.Returns the enum constant of this type with the specified name.static LambertConicConformal.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
-
BELGIUM
The "Lambert Conic Conformal (2SP Belgium)" projection. -
MICHIGAN
The "Lambert Conic Conformal (2SP Michigan)" projection. -
WEST
The "Lambert Conic Conformal (West Orientated)" projection. -
ONE_PARALLEL
The "Lambert Conic Conformal (1SP)" projection. -
TWO_PARALLELS
The "Lambert Conic Conformal (2SP)" projection.
-
-
Field Details
-
operationName
Name pattern for this variant. -
identifier
EPSG identifier for this variant. -
is1SP
final boolean is1SPNumber of standard parallels.
-
-
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.
-