OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
degsToRads

Functions

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

Detailed Description

Functions for degsToRads

Function Documentation

EXTENSION_INLINE double H3_EXPORT() degsToRads ( double  degrees)

converts degrees to radians

Determines if the components of two spherical coordinates are within some threshold distance of each other.

Parameters
p1The first spherical coordinates.
p2The second spherical coordinates.
thresholdThe threshold distance.
Returns
Whether or not the two coordinates are within the threshold distance of each other. Determines if the components of two spherical coordinates are within our standard epsilon distance of each other.
Parameters
p1The first spherical coordinates.
p2The second spherical coordinates.
Returns
Whether or not the two coordinates are within the epsilon distance of each other. Set the components of spherical coordinates in decimal degrees.
Parameters
pThe spherical coordinates.
latDegsThe desired latitude in decimal degrees.
lonDegsThe desired longitude in decimal degrees. Set the components of spherical coordinates in radians.
pThe spherical coordinates.
latRadsThe desired latitude in decimal radians.
lonRadsThe desired longitude in decimal radians. Convert from decimal degrees to radians.
degreesThe decimal degrees.
Returns
The corresponding radians.

Definition at line 101 of file geoCoord.hpp.

References degrees(), and M_PI_180.

Referenced by geoToH3().

101  {
102  return degrees * M_PI_180;
103 }
#define M_PI_180
Definition: constants.h:37
EXTENSION_NOINLINE double degrees(double x)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: