Function polarDistanceDegrees( ra1, dec1, radius1, ra2, dec2, radius2 )
- Description:
-
Calculates the distance in three dimensional space
between two points specified in spherical polar coordinates.
- Parameters:
-
ra1 (floating point)
- right ascension of point 1 in degrees
dec1 (floating point)
- declination of point1 in degrees
radius1 (floating point)
- distance from origin of point1
ra2 (floating point)
- right ascension of point 2 in degrees
dec2 (floating point)
- declination of point2 in degrees
radius2 (floating point)
- distance from origin of point2
- Return Value (floating point):
- the linear distance between point1 and point2;
units are as for
radius1 and radius2
- Signature:
double polarDistanceDegrees(double, double, double, double, double, double)