Enum ObliqueMercator.Variant
java.lang.Object
java.lang.Enum<ObliqueMercator.Variant>
org.apache.sis.referencing.operation.projection.ObliqueMercator.Variant
- All Implemented Interfaces:
Serializable,Comparable<ObliqueMercator.Variant>,ProjectionVariant
- Enclosing class:
- ObliqueMercator
private static enum ObliqueMercator.Variant
extends Enum<ObliqueMercator.Variant>
implements ProjectionVariant
Variants of Oblique Mercator projection.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe Hotine Oblique Mercator (variant B) projection.The Hotine Oblique Mercator (variant A) projection.The "Oblique Mercator" projection specified by two points on the central line.The "Oblique Mercator" projection specified by two points on the central line. -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final booleanWhether easting/northing values are defined at projection center instead of at coordinate system natural origin.private final StringEPSG identifier for this variant.private final PatternName pattern for this variant.(package private) final booleanWhether the projection has its central line defined by two points instead of an azimuth angle. -
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 ObliqueMercator.VariantReturns the enum constant of this type with the specified name.static ObliqueMercator.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, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.apache.sis.referencing.operation.projection.ProjectionVariant
useAuthalicRadius
-
Enum Constant Details
-
DEFAULT
The Hotine Oblique Mercator (variant A) projection. -
CENTER
The Hotine Oblique Mercator (variant B) projection. -
TWO_POINTS
The "Oblique Mercator" projection specified by two points on the central line. -
TWO_POINTS_CENTER
The "Oblique Mercator" projection specified by two points on the central line.
-
-
Field Details
-
operationName
Name pattern for this variant. -
identifier
EPSG identifier for this variant. -
twoPoints
final boolean twoPointsWhether the projection has its central line defined by two points instead of an azimuth angle. The two points variants are used by ESRI. -
center
final boolean centerWhether easting/northing values are defined at projection center instead of at coordinate system natural origin. This isfalsefor Hotine Oblique Mercator (variant A) andtruefor Hotine Oblique Mercator (variant B).
-
-
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:
getOperationNamePatternin interfaceProjectionVariant- Returns:
- the operation name pattern for this variant, or
nullif none.
-
getIdentifier
EPSG identifier of an operation method for this variant.- Specified by:
getIdentifierin interfaceProjectionVariant- Returns:
- EPSG identifier for this variant, or
nullif none.
-