PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ mu2()

double mu2 ( double  azimuth,
SPHEROID sphere 
)

Definition at line 168 of file lwgeom_spheroid.c.

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

Referenced by distance_ellipse_calculation().

169 {
170  double e2;
171 
172  e2 = sqrt(sphere->a*sphere->a-sphere->b*sphere->b)/sphere->b;
173  return cos(azimuth)*cos(azimuth) * e2*e2;
174 }
double b
Definition: liblwgeom.h:314
double a
Definition: liblwgeom.h:313
Here is the caller graph for this function: