PostGIS  2.5.0beta1dev-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:319
#define POW2(x)
Definition: lwgeodetic.h:42
double a
Definition: liblwgeom.h:315
Here is the caller graph for this function: