Description:
Position
angle of one celestial direction with respect to another.
Invocation
pa = palDpav( double v1[3],
double v2[3] );
Arguments
v1 = double [3] (Given)
direction cosines of one point.
v2 =
double [3] (Given)
direction cosines of the other point.
Returned Value
The result is the
bearing (position angle), in radians, of point
V2 with respect to point V1. It is in the range
/-
pi. The
sense is such that if V2 is a small distance east of V1, the
bearing is about
pi/2.
Zero is returned if the two points
are coincident.
Notes:
-
The coordinate frames correspond to RA,Dec, Long,Lat etc.
-
Uses eraPap(). See SOFA/ERFA documentation for details.
Copyright © 2012 Science and Technology Facilities Council.
Copyright © 2014 Cornell University.
Copyright © 2015 Tim Jenness