const for kilometers per degree on the earth, 111.19
Type: number
Convert degrees into kilometers along the earth surface
(number)
degrees to convert
number
:
kilometers
Convert kilometers into degrees along the earth surface
(number)
kilometers to convert
number
:
degrees
Returns a simple object (DistAzOutput) with:
delta => Great Circle Arc distance in degrees
az => Azimuth of pt. 1 wrt pt. 2 in degrees
baz => Azimuth of pt. 2 wrt pt. 1 in degrees
azimuth is if you stand at point 2 and measure angle between north and point 1. I.E. point 1 is the station and point 2 is the event.
(number)
Latitude of first point (station) (+N, -S) in degrees
(number)
Longitude of first point(station) (+E, -W) in degrees
(number)
Latitude of second point (event)
(number)
Longitude of second point (event)
DistAzOutput
:
delta, az, baz in a DistAzOutput