org.geotools.referencing.operation.projection
Class ObliqueMercator.Provider_TwoPoint

Object
  extended by Formattable
      extended by AbstractIdentifiedObject
          extended by DefaultOperationMethod
              extended by MathTransformProvider
                  extended by MapProjection.AbstractProvider
                      extended by ObliqueMercator.Provider
                          extended by ObliqueMercator.Provider_TwoPoint
All Implemented Interfaces:
Serializable, IdentifiedObject, OperationMethod
Direct Known Subclasses:
HotineObliqueMercator.Provider_TwoPoint
Enclosing class:
ObliqueMercator

public static class ObliqueMercator.Provider_TwoPoint
extends ObliqueMercator.Provider

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:
DefaultMathTransformFactory, Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class MathTransformProvider
MathTransformProvider.Delegate
 
Field Summary
static ParameterDescriptor LAT_OF_1ST_POINT
          The operation parameter descriptor for the latitudeOf1stPoint parameter value.
static ParameterDescriptor LAT_OF_2ND_POINT
          The operation parameter descriptor for the latitudeOf2ndPoint parameter value.
static ParameterDescriptor LONG_OF_1ST_POINT
          The operation parameter descriptor for the longitudeOf1stPoint parameter value.
static ParameterDescriptor LONG_OF_2ND_POINT
          The operation parameter descriptor for the longitudeOf2ndPoint parameter value.
 
Fields inherited from class ObliqueMercator.Provider
AZIMUTH, LATITUDE_OF_CENTRE, LONGITUDE_OF_CENTRE, RECTIFIED_GRID_ANGLE
 
Fields 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_2
 
Fields inherited from class DefaultOperationMethod
sourceDimensions, targetDimensions
 
Fields inherited from class AbstractIdentifiedObject
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR
 
Fields inherited from class Formattable
SINGLE_LINE
 
Fields inherited from interface OperationMethod
FORMULA_KEY
 
Fields inherited from interface IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
 
Constructor Summary
  ObliqueMercator.Provider_TwoPoint()
          Constructs a new provider.
protected ObliqueMercator.Provider_TwoPoint(ParameterDescriptorGroup params)
          Constructs a new provider.
 
Method Summary
protected  MathTransform createMathTransform(ParameterValueGroup parameters)
          Creates a transform from the specified group of parameter values.
 
Methods inherited from class ObliqueMercator.Provider
getOperationType
 
Methods inherited from class MapProjection.AbstractProvider
doubleValue
 
Methods inherited from class MathTransformProvider
createDescriptor, createDescriptorGroup, createOptionalDescriptor, doubleValue, ensureValidValues, formatWKT, intValue, stringValue, value
 
Methods inherited from class DefaultOperationMethod
checkDimensions, equals, getFormula, getParameters, getSourceDimensions, getTargetDimensions, hashCode
 
Methods 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, nameMatches
 
Methods inherited from class Formattable
toString, toWKT, toWKT, toWKT
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
 

Field Detail

LAT_OF_1ST_POINT

public static final ParameterDescriptor LAT_OF_1ST_POINT
The operation parameter descriptor for the latitudeOf1stPoint parameter value. Valid values range is from -90 to 90°. Default value is 0.


LONG_OF_1ST_POINT

public static final ParameterDescriptor LONG_OF_1ST_POINT
The operation parameter descriptor for the longitudeOf1stPoint parameter value. Valid values range is from -180 to 180°. Default value is 0.


LAT_OF_2ND_POINT

public static final ParameterDescriptor LAT_OF_2ND_POINT
The operation parameter descriptor for the latitudeOf2ndPoint parameter value. Valid values range is from -90 to 90°. Default value is 0.


LONG_OF_2ND_POINT

public static final ParameterDescriptor LONG_OF_2ND_POINT
The operation parameter descriptor for the longitudeOf2ndPoint parameter value. Valid values range is from -180 to 180°. Default value is 0.

Constructor Detail

ObliqueMercator.Provider_TwoPoint

public ObliqueMercator.Provider_TwoPoint()
Constructs a new provider.


ObliqueMercator.Provider_TwoPoint

protected ObliqueMercator.Provider_TwoPoint(ParameterDescriptorGroup params)
Constructs a new provider.

Parameters:
params - A description of parameters.
Method Detail

createMathTransform

protected MathTransform createMathTransform(ParameterValueGroup parameters)
                                     throws ParameterNotFoundException
Creates a transform from the specified group of parameter values.

Overrides:
createMathTransform in class ObliqueMercator.Provider
Parameters:
parameters - The group of parameter values.
Returns:
The created math transform.
Throws:
ParameterNotFoundException - if a required parameter was not found.
See Also:
MathTransformProvider.Delegate


Copyright © 1996-2009 Geotools. All Rights Reserved.