org.geotoolkit.referencing.operation.provider
Class EllipsoidToGeocentric

Object
  extended by FormattableObject
      extended by AbstractIdentifiedObject
          extended by DefaultOperationMethod
              extended by MathTransformProvider
                  extended by EllipsoidToGeocentric
All Implemented Interfaces:
Serializable, Formattable, LenientComparable, IdentifiedObject, OperationMethod

@Immutable
public class EllipsoidToGeocentric
extends MathTransformProvider

The provider for "Geographic/geocentric conversions" (EPSG:9602). This provider constructs transforms from geographic to geocentric coordinate reference systems.

WARNING: The EPSG code is the same than the GeocentricToEllipsoid one. To avoid ambiguity, use the OGC name instead: "Ellipsoid_To_Geocentric".

Since:
2.0
Version:
3.00
Author:
Martin Desruisseaux (IRD)
See Also:
GeocentricTransform, Serialized Form
Module:
referencing/geotk-referencing (download)    View source code for this class

Field Summary
static ParameterDescriptor<Integer> DIM
          The operation parameter descriptor for the number of geographic dimension (2 or 3).
static ParameterDescriptorGroup PARAMETERS
          The parameters group.
static ParameterDescriptor<Double> SEMI_MAJOR
          The operation parameter descriptor for the "semi_major" parameter value.
static ParameterDescriptor<Double> SEMI_MINOR
          The operation parameter descriptor for the "semi_minor" parameter value.
 
Fields inherited from class DefaultOperationMethod
sourceDimension, targetDimension
 
Fields inherited from class AbstractIdentifiedObject
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR
 
Fields inherited from class FormattableObject
EPSG, GEOTIFF, INTERNAL, OGC, SINGLE_LINE
 
Fields inherited from interface OperationMethod
FORMULA_KEY
 
Fields inherited from interface IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
 
Constructor Summary
EllipsoidToGeocentric()
          Constructs a provider with default parameters.
 
Method Summary
protected  MathTransform createMathTransform(ParameterValueGroup values)
          Creates a transform from the specified group of parameter values.
 Class<Conversion> getOperationType()
          Returns the operation type.
 
Methods inherited from class MathTransformProvider
ensureValidValues, formatWKT
 
Methods inherited from class DefaultOperationMethod
checkDimensions, computeHashCode, equals, getFormula, getParameters, getSourceDimensions, getTargetDimensions
 
Methods inherited from class AbstractIdentifiedObject
equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, hashCode, nameMatches, nameMatches, nameMatches
 
Methods inherited from class FormattableObject
getDefaultIndentation, print, setDefaultIndentation, 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

SEMI_MAJOR

public static final ParameterDescriptor<Double> SEMI_MAJOR
The operation parameter descriptor for the "semi_major" parameter value. Valid values range from 0 to infinity. This parameter is mandatory and has no default value.


SEMI_MINOR

public static final ParameterDescriptor<Double> SEMI_MINOR
The operation parameter descriptor for the "semi_minor" parameter value. Valid values range from 0 to infinity. This parameter is mandatory and has no default value.


DIM

public static final ParameterDescriptor<Integer> DIM
The operation parameter descriptor for the number of geographic dimension (2 or 3). This is a Geotk-specific argument. The default value is 3, which is the value implied in OGC's WKT.


PARAMETERS

public static final ParameterDescriptorGroup PARAMETERS
The parameters group.

Constructor Detail

EllipsoidToGeocentric

public EllipsoidToGeocentric()
Constructs a provider with default parameters.

Method Detail

getOperationType

public Class<Conversion> getOperationType()
Returns the operation type.

Overrides:
getOperationType in class MathTransformProvider
Returns:
The GeoAPI interface implemented by this operation.

createMathTransform

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

Specified by:
createMathTransform in class MathTransformProvider
Parameters:
values - The group of parameter values.
Returns:
The created math transform.
Throws:
ParameterNotFoundException - if a required parameter was not found.


Copyright © 2009-2011 Geotoolkit.org. All Rights Reserved.