Class GnomonicData


  • public class GnomonicData
    extends Object
    The results of gnomonic projection.

    This is used to return the results for a gnomonic projection of a point (lat, lon) given a center point of projection (lat0, lon0). The returned GnomonicData objects always include the parameters provided to Gnomonic.Forward and Gnomonic.Reverse and it always includes the fields x, y, azi. and rk.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      double azi
      azimuth of geodesic at point (degrees).
      double lat
      latitude of point (degrees).
      double lat0
      latitude of center point of projection (degrees).
      double lon
      longitude of point (degrees).
      double lon0
      longitude of center point of projection (degrees).
      double rk
      reciprocal of azimuthal scale at point.
      double x
      easting of point (meters).
      double y
      northing of point (meters).
    • Constructor Summary

      Constructors 
      Constructor Description
      GnomonicData()
      Initialize all the fields to Double.NaN.
      GnomonicData​(double lat0, double lon0, double lat, double lon, double x, double y, double azi, double rk)
      Constructor initializing all the fields for gnomonic projection of a point (lat, lon) given a center point of projection (lat0, lon0).
    • Field Detail

      • lat0

        public double lat0
        latitude of center point of projection (degrees).
      • lon0

        public double lon0
        longitude of center point of projection (degrees).
      • lat

        public double lat
        latitude of point (degrees).
      • lon

        public double lon
        longitude of point (degrees).
      • x

        public double x
        easting of point (meters).
      • y

        public double y
        northing of point (meters).
      • azi

        public double azi
        azimuth of geodesic at point (degrees).
      • rk

        public double rk
        reciprocal of azimuthal scale at point.
    • Constructor Detail

      • GnomonicData

        public GnomonicData()
        Initialize all the fields to Double.NaN.
      • GnomonicData

        public GnomonicData​(double lat0,
                            double lon0,
                            double lat,
                            double lon,
                            double x,
                            double y,
                            double azi,
                            double rk)
        Constructor initializing all the fields for gnomonic projection of a point (lat, lon) given a center point of projection (lat0, lon0).

        Parameters:
        lat0 - latitude of center point of projection (degrees).
        lon0 - longitude of center point of projection (degrees).
        lat - latitude of point (degrees).
        lon - longitude of point (degrees).
        x - easting of point (meters).
        y - northing of point (meters).
        azi - azimuth of geodesic at point (degrees).
        rk - reciprocal of azimuthal scale at point.