Expand description
Geodesic tools
Structs§
- Geod
Geodesic - The struct containing information about the ellipsoid. This must be initialized by geod_init() before use.
- Geod
Geodesicline - 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().
- Geod
Flags - flag values for the \e flags argument to geod_gendirect() and geod_genposition()
- Geod
Mask - 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