OmniSciDB  471d68cefb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
radsToDegs

Functions

EXTENSION_INLINE double H3_EXPORT() radsToDegs (double radians)
 converts radians to degrees More...
 

Detailed Description

Functions for radsToDegs

Function Documentation

EXTENSION_INLINE double H3_EXPORT() radsToDegs ( double  radians)

converts radians to degrees

Convert from radians to decimal degrees.

Parameters
radiansThe radians.
Returns
The corresponding decimal degrees.

Definition at line 111 of file geoCoord.hpp.

References M_180_PI, and radians().

Referenced by h3ToGeoPacked(), h3ToLat(), and h3ToLon().

111  {
112  return radians * M_180_PI;
113 }
EXTENSION_NOINLINE double radians(const double x)
#define M_180_PI
Definition: constants.h:39

+ Here is the call graph for this function:

+ Here is the caller graph for this function: