Class CoordinateTransformLonLatToXY

    • Constructor Detail

      • CoordinateTransformLonLatToXY

        public CoordinateTransformLonLatToXY​(double lonCenter,
                                             double latCenter)
        Transformation from: https://en.wikipedia.org/wiki/Geographic_coordinate_system.
        Parameters:
        latCenter - double; the latitude of the center point (0, 0)
        lonCenter - double; the longitude of the center point (0, 0)
    • Method Detail

      • doubleTransformWSG84toCartesianXY

        public final double[] doubleTransformWSG84toCartesianXY​(double lon,
                                                                double lat)
        Convert WGS84 coordinates to Cartesian coordinates.
        Parameters:
        lon - double; longitude in degrees
        lat - double; latitude in degrees
        Returns:
        double[]