PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ spheroid_prime_vertical_radius_of_curvature()

static double spheroid_prime_vertical_radius_of_curvature ( double  latitude,
const SPHEROID spheroid 
)
inlinestatic

Definition at line 415 of file lwspheroid.c.

References SPHEROID::a, SPHEROID::e_sq, and POW2.

Referenced by spheroid_parallel_arc_length().

416 {
417  return spheroid->a / (sqrt(1.0 - spheroid->e_sq * POW2(sin(latitude))));
418 }
double e_sq
Definition: liblwgeom.h:317
#define POW2(x)
Definition: lwgeodetic.h:47
double a
Definition: liblwgeom.h:313
Here is the caller graph for this function: