Class GnomonicData

java.lang.Object
net.sf.geographiclib.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
    azimuth of geodesic at point (degrees).
    double
    latitude of point (degrees).
    double
    latitude of center point of projection (degrees).
    double
    longitude of point (degrees).
    double
    longitude of center point of projection (degrees).
    double
    reciprocal of azimuthal scale at point.
    double
    easting of point (meters).
    double
    northing of point (meters).
  • Constructor Summary

    Constructors
    Constructor
    Description
    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).
  • Method Summary

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • 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 Details

    • 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.