PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ mu2()

double mu2 ( double  azimuth,
SPHEROID sphere 
)

Definition at line 167 of file lwgeom_spheroid.c.

168 {
169  double e2;
170 
171  e2 = sqrt(sphere->a*sphere->a-sphere->b*sphere->b)/sphere->b;
172  return cos(azimuth)*cos(azimuth) * e2*e2;
173 }
double a
Definition: liblwgeom.h:361
double b
Definition: liblwgeom.h:362

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

Referenced by distance_ellipse_calculation().

Here is the caller graph for this function: