Enum Mollweide.Variant
- All Implemented Interfaces:
Serializable
,Comparable<Mollweide.Variant>
,java.lang.constant.Constable
,ProjectionVariant
- Enclosing class:
Mollweide
Allowed projection variants. Current implementation supports only spherical formulas.
We do not yet use this enumeration for detecting variants from the operation name.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
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.boolean
Requests the use of authalic radius.static Mollweide.Variant
Returns the enum constant of this type with the specified name.static Mollweide.Variant[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SPHERICAL
The spherical case.
-
-
Constructor Details
-
Variant
private Variant()
-
-
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.
-
useAuthalicRadius
public boolean useAuthalicRadius()Requests the use of authalic radius.- Specified by:
useAuthalicRadius
in interfaceProjectionVariant
- Returns:
- whether this variant is a spherical variant using authalic radius.
-