PostGIS  2.2.7dev-r@@SVN_REVISION@@
static double spheroid_mu2 ( double  alpha,
const SPHEROID s 

Definition at line 35 of file lwspheroid.c.

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

Referenced by spheroid_distance(), and spheroid_project().

36 {
37  double b2 = POW2(s->b);
38  return POW2(cos(alpha)) * (POW2(s->a) - b2) / b2;
39 }
double b
Definition: liblwgeom.h:298
#define POW2(x)
Definition: lwgeodetic.h:27
double a
Definition: liblwgeom.h:297

Here is the caller graph for this function: