Class GeographicRedimension

All Implemented Interfaces:
Serializable, Formattable, MathTransformProvider, Deprecable, LenientComparable, org.opengis.referencing.IdentifiedObject, org.opengis.referencing.operation.OperationMethod
Direct Known Subclasses:
Geographic2Dto3D, Geographic3Dto2D

class GeographicRedimension extends GeodeticOperation
Base class of operations working on the number of dimensions of a geographic CRS. The default implementation does nothing; this is used as a placeholder for the result of a call to GeodeticOperation.redimension(int, int) when the given number of dimensions are equal.
Since:
0.8
Version:
1.3
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Serial number for inter-operability with different versions.
      See Also:
  • Constructor Details

    • GeographicRedimension

      GeographicRedimension(org.opengis.parameter.ParameterDescriptorGroup parameters, int sourceDimensions, int targetDimensions, GeodeticOperation[] redimensioned)
      Constructs a math transform provider from a set of parameters. This is for sub-class constructors only.
    • GeographicRedimension

      GeographicRedimension(int dimension, GeodeticOperation[] redimensioned)
      Creates an identity operation of the given number of dimensions.
  • Method Details

    • createMathTransform

      public org.opengis.referencing.operation.MathTransform createMathTransform(org.opengis.referencing.operation.MathTransformFactory factory, org.opengis.parameter.ParameterValueGroup values) throws org.opengis.util.FactoryException
      Returns the transform.
      Parameters:
      factory - the factory for creating affine transforms.
      values - the parameter values.
      Returns:
      the math transform for the given parameter values.
      Throws:
      org.opengis.util.FactoryException - if an error occurred while creating the transform.