PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ spheroid_mu2()

static double spheroid_mu2 ( double  alpha,
const SPHEROID s 
)
static

Definition at line 49 of file lwspheroid.c.

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

Referenced by spheroid_distance(), and spheroid_project().

50 {
51  double b2 = POW2(s->b);
52  return POW2(cos(alpha)) * (POW2(s->a) - b2) / b2;
53 }
double b
Definition: liblwgeom.h:314
#define POW2(x)
Definition: lwgeodetic.h:47
double a
Definition: liblwgeom.h:313
Here is the caller graph for this function: