PostGIS  2.2.7dev-r@@SVN_REVISION@@
double mu2 ( double  azimuth,
SPHEROID sphere 
)

Definition at line 155 of file lwgeom_spheroid.c.

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

Referenced by distance_ellipse_calculation().

156 {
157  double e2;
158 
159  e2 = sqrt(sphere->a*sphere->a-sphere->b*sphere->b)/sphere->b;
160  return cos(azimuth)*cos(azimuth) * e2*e2;
161 }
double b
Definition: liblwgeom.h:298
double a
Definition: liblwgeom.h:297

Here is the caller graph for this function: