OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
compute_dist.c File Reference
#include <math.h>
Include dependency graph for compute_dist.c:

Go to the source code of this file.

Functions

double deg2rad (double deg)
 
double angular_distance (double lat1, double lon1, double lat2, double lon2)
 
double rad2deg (double rad)
 

Function Documentation

◆ angular_distance()

double angular_distance ( double  lat1,
double  lon1,
double  lat2,
double  lon2 
)

Definition at line 16 of file compute_dist.c.

◆ deg2rad()

double deg2rad ( double  deg)

Definition at line 28 of file compute_dist.c.

◆ rad2deg()

double rad2deg ( double  rad)

Definition at line 32 of file compute_dist.c.