PostGIS  2.2.7dev-r@@SVN_REVISION@@
static double spheroid_prime_vertical_radius_of_curvature ( double  latitude,
const SPHEROID spheroid 
)
inlinestatic

Definition at line 401 of file lwspheroid.c.

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

Referenced by spheroid_parallel_arc_length().

402 {
403  return spheroid->a / (sqrt(1.0 - spheroid->e_sq * POW2(sin(latitude))));
404 }
double e_sq
Definition: liblwgeom.h:301
#define POW2(x)
Definition: lwgeodetic.h:27
double a
Definition: liblwgeom.h:297

Here is the caller graph for this function: