Class MathTransformContext

All Implemented Interfaces:
Serializable

final class MathTransformContext extends DefaultMathTransformFactory.Context
Information about the context in which a MathTransform is created. This class performs the same normalization than the super-class (namely axis swapping and unit conversions), with the addition of longitude rotation for supporting change of prime meridian. This latter change is not applied by the super-class because prime meridian is part of geodetic datum, and the public math transform factory know nothing about datum (on design, for separation of concerns).
Since:
0.7
Version:
0.8
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      For cross-version compatibility.
      See Also:
    • sourceMeridian

      private double sourceMeridian
      The longitude of the source and target prime meridian, in number of degrees East of Greenwich.
    • targetMeridian

      private double targetMeridian
      The longitude of the source and target prime meridian, in number of degrees East of Greenwich.
  • Constructor Details

    • MathTransformContext

      MathTransformContext(org.opengis.referencing.datum.GeodeticDatum source, org.opengis.referencing.datum.GeodeticDatum target)
      Creates a new context which add some datum-related information in addition to the information provided by the super-class.
  • Method Details