MCPcopy Create free account
hub / github.com/Kitware/VTK / pj_ell_set

Function pj_ell_set

ThirdParty/libproj/vtklibproj/src/ell_set.cpp:621–639  ·  view source on GitHub ↗

/

Source from the content-addressed store, hash-verified

619
620/**************************************************************************************/
621int pj_ell_set (PJ_CONTEXT *ctx, paralist *pl, double *a, double *es) {
622/***************************************************************************************
623 Initialize ellipsoidal parameters by emulating the original ellipsoid setup
624 function by Gerald Evenden, through a call to pj_ellipsoid
625***************************************************************************************/
626 PJ B;
627 int ret;
628
629 B.ctx = ctx;
630 B.params = pl;
631
632 ret = pj_ellipsoid (&B);
633 if (ret)
634 return ret;
635
636 *a = B.a;
637 *es = B.es;
638 return 0;
639}

Callers

nothing calls this directly

Calls 1

pj_ellipsoidFunction · 0.85

Tested by

no test coverage detected