Class DistAzKarney


  • public class DistAzKarney
    extends java.lang.Object
    Distance calculations using Karney, C.F.F. Algorithms for geodesics. J Geod 87, 43–55 (2013). https://doi.org/10.1007/s00190-012-0578-z
    • Constructor Summary

      Constructors 
      Constructor Description
      DistAzKarney()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static net.sf.geographiclib.GeodesicData calc​(double lat1, double lon1, double lat2, double lon2)
      Calc geodesic data, uses WSG84.
      static net.sf.geographiclib.GeodesicData calc​(double lat1, double lon1, double lat2, double lon2, net.sf.geographiclib.Geodesic planetGeodesic)  
      static net.sf.geographiclib.GeodesicData calc​(edu.sc.seis.seisFile.LatLonLocatable loc1, edu.sc.seis.seisFile.LatLonLocatable loc2)
      First location is generally the source/event and second is the receiver/station.
      static net.sf.geographiclib.GeodesicData calc​(edu.sc.seis.seisFile.LatLonLocatable loc1, edu.sc.seis.seisFile.LatLonLocatable loc2, net.sf.geographiclib.Geodesic planetGeodesic)
      First location is generally the source/event and second is the receiver/station.
      static net.sf.geographiclib.GeodesicData calc​(edu.sc.seis.seisFile.Location loc1, edu.sc.seis.seisFile.Location loc2)
      First location is generally the source/event and second is the receiver/station.
      static net.sf.geographiclib.GeodesicData calc​(edu.sc.seis.seisFile.Location loc1, edu.sc.seis.seisFile.Location loc2, net.sf.geographiclib.Geodesic planetGeodesic)
      c getDelta() Great Circle Arc distance in degrees c getAz() Azimuth from loc1 to loc2 in degrees c getBaz() Back Azimuth from loc2 to loc1 in degrees
      static net.sf.geographiclib.GeodesicData calcLocationDeg​(edu.sc.seis.seisFile.Location a, double azimuth, double degrees, net.sf.geographiclib.Geodesic geod)  
      static net.sf.geographiclib.GeodesicData calcLocationKm​(edu.sc.seis.seisFile.Location a, double kilometers, double azimuth, net.sf.geographiclib.Geodesic geod)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DistAzKarney

        public DistAzKarney()
    • Method Detail

      • calc

        public static net.sf.geographiclib.GeodesicData calc​(edu.sc.seis.seisFile.LatLonLocatable loc1,
                                                             edu.sc.seis.seisFile.LatLonLocatable loc2)
        First location is generally the source/event and second is the receiver/station. c getDelta() Great Circle Arc distance in degrees c getAz() Azimuth from loc1 to loc2 in degrees c getBaz() Back Azimuth from loc2 to loc1 in degrees
      • calc

        public static net.sf.geographiclib.GeodesicData calc​(edu.sc.seis.seisFile.LatLonLocatable loc1,
                                                             edu.sc.seis.seisFile.LatLonLocatable loc2,
                                                             net.sf.geographiclib.Geodesic planetGeodesic)
        First location is generally the source/event and second is the receiver/station. c getDelta() Great Circle Arc distance in degrees c getAz() Azimuth from loc1 to loc2 in degrees c getBaz() Back Azimuth from loc2 to loc1 in degrees
      • calc

        public static net.sf.geographiclib.GeodesicData calc​(edu.sc.seis.seisFile.Location loc1,
                                                             edu.sc.seis.seisFile.Location loc2)
        First location is generally the source/event and second is the receiver/station. c getDelta() Great Circle Arc distance in degrees c getAz() Azimuth from loc1 to loc2 in degrees c getBaz() Back Azimuth from loc2 to loc1 in degrees
      • calc

        public static net.sf.geographiclib.GeodesicData calc​(edu.sc.seis.seisFile.Location loc1,
                                                             edu.sc.seis.seisFile.Location loc2,
                                                             net.sf.geographiclib.Geodesic planetGeodesic)
        c getDelta() Great Circle Arc distance in degrees c getAz() Azimuth from loc1 to loc2 in degrees c getBaz() Back Azimuth from loc2 to loc1 in degrees
      • calc

        public static net.sf.geographiclib.GeodesicData calc​(double lat1,
                                                             double lon1,
                                                             double lat2,
                                                             double lon2)
        Calc geodesic data, uses WSG84. c lat1 Latitude of first point (+N, -S) in degrees c lon1 Longitude of first point (+E, -W) in degrees c lat2 Latitude of second point c lon2 Longitude of second point c
      • calc

        public static net.sf.geographiclib.GeodesicData calc​(double lat1,
                                                             double lon1,
                                                             double lat2,
                                                             double lon2,
                                                             net.sf.geographiclib.Geodesic planetGeodesic)
      • calcLocationDeg

        public static net.sf.geographiclib.GeodesicData calcLocationDeg​(edu.sc.seis.seisFile.Location a,
                                                                        double azimuth,
                                                                        double degrees,
                                                                        net.sf.geographiclib.Geodesic geod)
      • calcLocationKm

        public static net.sf.geographiclib.GeodesicData calcLocationKm​(edu.sc.seis.seisFile.Location a,
                                                                       double kilometers,
                                                                       double azimuth,
                                                                       net.sf.geographiclib.Geodesic geod)