Module geodesic

Module geodesic 

Source
Expand description

Geodesic tools

Structs§

GeodGeodesic
The struct containing information about the ellipsoid. This must be initialized by geod_init() before use.
GeodGeodesicline
The struct containing information about a single geodesic. This must be initialized by geod_lineinit(), geod_directline(), geod_gendirectline(), or geod_inverseline() before use.

Enums§

CapType
Cap Types to build for the \e caps argument to geod_lineinit().
GeodFlags
flag values for the \e flags argument to geod_gendirect() and geod_genposition()
GeodMask
mask values for the \e caps argument to geod_lineinit().

Functions§

a1m1f
The scale factor A1-1 = mean value of (d/dsigma)I1 - 1
ang_diff
Compute the difference between two angles in degrees
ang_normalize
Normalize an angle in degrees to the range [-180, 180]
ang_round
Round an angle in degrees to the nearest integer
astroid
Solve k^4+2k^3-(x^2+y^2-1)k^2-2y^2k-y^2 = 0 for positive root k This solution is adapted from Geocentric::Reverse
atan2dx
In order to minimize round-off errors, this function rearranges the arguments so that result of atan2 is in the range [-pi/4, pi/4] before converting it to degrees and mapping the result to the correct quadrant.
geod_direct
Compute the geodesic directly between two points
geod_gendirect
Compute the geodesic directly between two points
geod_geninverse
Compute the geodesic inverse between two points
geod_geninverse_int
Compute the geodesic inverse between two points
geod_genposition
Compute the geodesic position between two points
geod_init
Initialize a GeodGeodesic object
geod_inverse
Compute the geodesic inverse between two points
geod_lineinit
Initialize a geodesic line
geod_lineinit_int
Initialize a geodesic line
inverse_start
Inverse geodesic
lambda12
Compute lambda12
lat_fix
Limit x to the range [-qd, qd]
norm2
Normalize sin(x) and cos(x)
polyvalx
Evaluation sum(p[i] * x^i, i, 0, N) via Horner’s method.
sin_cos_series
Evaluate
sincosdx
In order to minimize round-off errors, this function exactly reduces the argument to the range [-45, 45] before converting it to radians.
swapx
Swap x and y