Class DistAz


  • public class DistAz
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      DistAz​(double lat1, double lon1, double lat2, double lon2)
      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 c getDelta() Great Circle Arc distance in degrees c getAz() Azimuth from pt.
      DistAz​(double lat1, double lon1, double lat2, double lon2, double flattening)  
      DistAz​(edu.sc.seis.seisFile.fdsnws.stationxml.Channel chan, edu.sc.seis.seisFile.fdsnws.quakeml.Event ev)
      c getDelta() Great Circle Arc distance in degrees c getAz() Azimuth from channel to event in degrees c getBaz() Back Azimuth from event to channel in degrees
      DistAz​(edu.sc.seis.seisFile.fdsnws.stationxml.Channel chan, edu.sc.seis.seisFile.fdsnws.quakeml.Origin origin)
      c getDelta() Great Circle Arc distance in degrees c getAz() Azimuth from channel to origin in degrees c getBaz() Back Azimuth from origin to channel in degrees
      DistAz​(edu.sc.seis.seisFile.fdsnws.stationxml.Channel chan, edu.sc.seis.seisFile.Location eventLoc)
      c getDelta() Great Circle Arc distance in degrees c getAz() Azimuth from channel to origin in degrees c getBaz() Back Azimuth from origin to channel in degrees
      DistAz​(edu.sc.seis.seisFile.Location loc1, edu.sc.seis.seisFile.Location loc2)
      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
      DistAz​(edu.sc.seis.seisFile.Location loc1, edu.sc.seis.seisFile.Location loc2, double flattening)
      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
    • Constructor Detail

      • DistAz

        public DistAz​(edu.sc.seis.seisFile.fdsnws.stationxml.Channel chan,
                      edu.sc.seis.seisFile.fdsnws.quakeml.Event ev)
        c getDelta() Great Circle Arc distance in degrees c getAz() Azimuth from channel to event in degrees c getBaz() Back Azimuth from event to channel in degrees
      • DistAz

        public DistAz​(edu.sc.seis.seisFile.fdsnws.stationxml.Channel chan,
                      edu.sc.seis.seisFile.fdsnws.quakeml.Origin origin)
        c getDelta() Great Circle Arc distance in degrees c getAz() Azimuth from channel to origin in degrees c getBaz() Back Azimuth from origin to channel in degrees
      • DistAz

        public DistAz​(edu.sc.seis.seisFile.fdsnws.stationxml.Channel chan,
                      edu.sc.seis.seisFile.Location eventLoc)
        c getDelta() Great Circle Arc distance in degrees c getAz() Azimuth from channel to origin in degrees c getBaz() Back Azimuth from origin to channel in degrees
      • DistAz

        public DistAz​(edu.sc.seis.seisFile.Location loc1,
                      edu.sc.seis.seisFile.Location loc2)
        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
      • DistAz

        public DistAz​(edu.sc.seis.seisFile.Location loc1,
                      edu.sc.seis.seisFile.Location loc2,
                      double flattening)
        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
      • DistAz

        public DistAz​(double lat1,
                      double lon1,
                      double lat2,
                      double lon2)
        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 c getDelta() Great Circle Arc distance in degrees c getAz() Azimuth from pt. 1 to pt. 2 in degrees c getBaz() Back Azimuth from pt. 2 to pt. 1 in degrees
      • DistAz

        public DistAz​(double lat1,
                      double lon1,
                      double lat2,
                      double lon2,
                      double flattening)
    • Method Detail

      • getDelta

        public double getDelta()
      • getAz

        public double getAz()
      • getBaz

        public double getBaz()
      • getRadialAzimuth

        public double getRadialAzimuth()
      • getTransverseAzimuth

        public double getTransverseAzimuth()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • kmPerDeg

        public static double kmPerDeg()
      • kmPerDeg

        public static double kmPerDeg​(double radius)
      • degreesToKilometers

        public static double degreesToKilometers​(double degrees)
      • degreesToKilometers

        public static double degreesToKilometers​(double degrees,
                                                 double radius)
      • kilometersToDegrees

        public static double kilometersToDegrees​(double kilometers,
                                                 double radius)
      • main

        public static void main​(java.lang.String[] args)