Function

NumCosmoMathutil_great_circle_distance

Declaration [src]

gdouble
ncm_util_great_circle_distance (
  gdouble ra1,
  gdouble dec1,
  gdouble ra2,
  gdouble dec2
)

Description [src]

Computes the angular separation from the Vincenty formula, see great-circle distance.

Parameters

ra1

Type: gdouble

Right ascension of the first object, in degrees.

dec1

Type: gdouble

Declination of the first object, in degrees.

ra2

Type: gdouble

Right ascension of the second object, in degrees.

dec2

Type: gdouble

Declination of the second object, in degrees.

Return value

Type: gdouble

The angular separation, in degrees.