next up previous 269
Next: SLA_DSEPV - Angle Between 2 Vectors
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 269
Next: SLA_DSEPV - Angle Between 2 Vectors
Up: SUBPROGRAM SPECIFICATIONS
Previous: SLA_DS2TP - Spherical to Tangent Plane

SLALIB --- Positional Astronomy Library
Starlink User Note 67
P. T. Wallace
19 December 2005
E-mail:ussc@star.rl.ac.uk

Copyright © 2010 Science and Technology Facilities Council