Class ObliqueMercator.Provider_TwoPoint
- All Implemented Interfaces:
Serializable,IdentifiedObject,OperationMethod,PROJFormattable
- Direct Known Subclasses:
HotineObliqueMercator.Provider_TwoPoint
- Enclosing class:
- ObliqueMercator
The math transform provider for a
Oblique Mercator projection, specified with two points on the central line (instead
of a central point and azimuth).
- Since:
- 2.1
- Author:
- Rueben Schulz
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class MathTransformProvider
MathTransformProvider.Delegate -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ParameterDescriptorThe operation parameter descriptor for thelatitudeOf1stPointparameter value.static final ParameterDescriptorThe operation parameter descriptor for thelatitudeOf2ndPointparameter value.static final ParameterDescriptorThe operation parameter descriptor for thelongitudeOf1stPointparameter value.static final ParameterDescriptorThe operation parameter descriptor for thelongitudeOf2ndPointparameter value.Fields inherited from class ObliqueMercator.Provider
AZIMUTH, LATITUDE_OF_CENTRE, LONGITUDE_OF_CENTRE, RECTIFIED_GRID_ANGLEFields inherited from class MapProjection.AbstractProvider
CENTRAL_MERIDIAN, FALSE_EASTING, FALSE_NORTHING, LATITUDE_OF_ORIGIN, SCALE_FACTOR, SEMI_MAJOR, SEMI_MINOR, STANDARD_PARALLEL_1, STANDARD_PARALLEL_2Fields inherited from class DefaultOperationMethod
sourceDimensions, targetDimensionsFields inherited from class AbstractIdentifiedObject
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATORFields inherited from class Formattable
SINGLE_LINEFields inherited from interface IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEYFields inherited from interface OperationMethod
FORMULA_KEY -
Constructor Summary
ConstructorsModifierConstructorDescriptionConstructs a new provider.protectedConstructs a new provider. -
Method Summary
Modifier and TypeMethodDescriptionprotected MathTransformcreateMathTransform(ParameterValueGroup parameters) Creates a transform from the specified group of parameter values.Methods inherited from class ObliqueMercator.Provider
getOperationTypeMethods inherited from class MapProjection.AbstractProvider
doubleValueMethods inherited from class MathTransformProvider
createDescriptor, createDescriptorGroup, createOptionalDescriptor, ensureValidValues, formatWKT, getParameter, intValue, stringValue, toMap, valueMethods inherited from class DefaultOperationMethod
checkDimensions, equals, formatPROJ, getFormula, getParameters, getSourceDimensions, getTargetDimensions, hashCodeMethods inherited from class AbstractIdentifiedObject
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatchesMethods inherited from class Formattable
cleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKTMethods inherited from interface IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
-
Field Details
-
LAT_OF_1ST_POINT
The operation parameter descriptor for thelatitudeOf1stPointparameter value. Valid values range is from -90 to 90°. Default value is 0. -
LONG_OF_1ST_POINT
The operation parameter descriptor for thelongitudeOf1stPointparameter value. Valid values range is from -180 to 180°. Default value is 0. -
LAT_OF_2ND_POINT
The operation parameter descriptor for thelatitudeOf2ndPointparameter value. Valid values range is from -90 to 90°. Default value is 0. -
LONG_OF_2ND_POINT
The operation parameter descriptor for thelongitudeOf2ndPointparameter value. Valid values range is from -180 to 180°. Default value is 0.
-
-
Constructor Details
-
Provider_TwoPoint
public Provider_TwoPoint()Constructs a new provider. -
Provider_TwoPoint
Constructs a new provider.- Parameters:
params- A description of parameters.
-
-
Method Details
-
createMathTransform
protected MathTransform createMathTransform(ParameterValueGroup parameters) throws ParameterNotFoundException Creates a transform from the specified group of parameter values.- Overrides:
createMathTransformin classObliqueMercator.Provider- Parameters:
parameters- The group of parameter values.- Returns:
- The created math transform.
- Throws:
ParameterNotFoundException- if a required parameter was not found.- See Also:
-