Class AzimuthalEquidistant.Spherical

    • Method Detail

      • transformNormalized

        protected Point2D transformNormalized​(double lambda,
                                              double phi,
                                              Point2D ptDst)
                                       throws ProjectionException
        Forward transform from longitude/latitude in radians to projected coordinates.
        Specified by:
        transformNormalized in class MapProjection
        Parameters:
        lambda - The longitude of the coordinate, in radians.
        phi - The latitude of the coordinate, in radians.
        ptDst - the specified coordinate point that stores the result of transforming ptSrc, or null. Ordinates will be in a dimensionless unit, as a linear distance on a unit sphere or ellipse.
        Returns:
        the coordinate point after transforming (lambda, phi) and storing the result in ptDst.
        Throws:
        ProjectionException - if the point can't be transformed.
        See Also:
        MapProjection.transformNormalized(double, double, java.awt.geom.Point2D)
      • inverseTransformNormalized

        protected Point2D inverseTransformNormalized​(double x,
                                                     double y,
                                                     Point2D ptDst)
                                              throws ProjectionException
        Inverse transform from projected coordinates to latitude/longitude in radians.
        Specified by:
        inverseTransformNormalized in class MapProjection
        Parameters:
        x - The easting of the coordinate, linear distance on a unit sphere or ellipse.
        y - The northing of the coordinate, linear distance on a unit sphere or ellipse.
        ptDst - the specified coordinate point that stores the result of transforming ptSrc, or null. Ordinates will be in radians.
        Returns:
        the coordinate point after transforming x, y and storing the result in ptDst.
        Throws:
        ProjectionException - if the point can't be transformed.
        See Also:
        MapProjection.inverseTransformNormalized(double, double, java.awt.geom.Point2D)