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

Definition at line 29 of file lwspheroid.c.

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

Referenced by spheroid_distance(), and spheroid_project().

30 {
31  double b2 = POW2(s->b);
32  return POW2(cos(alpha)) * (POW2(s->a) - b2) / b2;
33 }
double b
Definition: liblwgeom.h:270
#define POW2(x)
Definition: lwgeodetic.h:28
double a
Definition: liblwgeom.h:269

Here is the caller graph for this function: