Class InterpolatedGeocentricTransform2D

All Implemented Interfaces:
Serializable, Parameterized, LenientComparable, org.opengis.referencing.operation.MathTransform, org.opengis.referencing.operation.MathTransform2D

final class InterpolatedGeocentricTransform2D extends InterpolatedGeocentricTransform implements org.opengis.referencing.operation.MathTransform2D
An interpolated geocentric transform for two-dimensional input and output coordinates.
Since:
0.7
Version:
0.7
  • Field Details

    • serialVersionUID

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

    • InterpolatedGeocentricTransform2D

      InterpolatedGeocentricTransform2D(org.opengis.referencing.datum.Ellipsoid source, org.opengis.referencing.datum.Ellipsoid target, DatumShiftGrid<javax.measure.quantity.Angle,javax.measure.quantity.Length> grid)
      Constructs a 2D transform.
  • Method Details

    • derivative

      public org.opengis.referencing.operation.Matrix derivative(Point2D point) throws org.opengis.referencing.operation.TransformException
      Computes the derivative at the given position.
      Specified by:
      derivative in interface org.opengis.referencing.operation.MathTransform2D
      Throws:
      org.opengis.referencing.operation.TransformException
    • transform

      public Point2D transform(Point2D ptSrc, Point2D ptDst) throws org.opengis.referencing.operation.TransformException
      Transforms a single point.
      Specified by:
      transform in interface org.opengis.referencing.operation.MathTransform2D
      Throws:
      org.opengis.referencing.operation.TransformException
    • createTransformedShape

      public Shape createTransformedShape(Shape shape) throws org.opengis.referencing.operation.TransformException
      Transforms the given shape.
      Specified by:
      createTransformedShape in interface org.opengis.referencing.operation.MathTransform2D
      Throws:
      org.opengis.referencing.operation.TransformException
    • inverse

      public org.opengis.referencing.operation.MathTransform2D inverse()
      Returns the inverse transform of this transform.
      Specified by:
      inverse in interface org.opengis.referencing.operation.MathTransform
      Specified by:
      inverse in interface org.opengis.referencing.operation.MathTransform2D
      Overrides:
      inverse in class InterpolatedGeocentricTransform
      Returns:
      a transform from the target ellipsoid to the source ellipsoid of this transform.