next up previous
Next: SLA_DT - Approximate ET minus UT
Up: SUBPROGRAM SPECIFICATIONS
Previous: SLA_DS2TP - Spherical to Tangent Plane

SLA_DSEP - Angle Between 2 Points on Sphere   

ACTION:
Angle between two points on a sphere (double precision).
CALL:
D = sla_DSEP (A1, B1, A2, B2)

GIVEN:

A1,B1 D spherical coordinates of one point (radians)
A2,B2 D spherical coordinates of the other point (radians)

RETURNED:

sla_DSEP D angle between [A1,B1] and [A2,B2] in radians

NOTES:
1.
The spherical coordinates are right ascension and declination, longitude and latitude, etc., in radians.
2.
The result is always positive.


next up previous
Next: SLA_DT - Approximate ET minus UT
Up: SUBPROGRAM SPECIFICATIONS
Previous: SLA_DS2TP - Spherical to Tangent Plane

SLALIB --- Positional Astronomy Library
Starlink User Note 67
P. T. Wallace
12 October 1999
E-mail:ptw@star.rl.ac.uk