MCPcopy Create free account
hub / github.com/OSGeo/PROJ / get_forward_offset

Function get_forward_offset

src/transformations/vertoffset.cpp:47–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45// Slope"
46
47static double get_forward_offset(const PJ *P, double phi, double lam) {
48 const struct pj_opaque_vertoffset *Q =
49 (const struct pj_opaque_vertoffset *)P->opaque;
50 return Q->zoff + Q->slope_lat * Q->rho0 * (phi - P->phi0) +
51 Q->slope_lon * Q->nu0 * lam * cos(phi);
52}
53
54static PJ_XYZ forward_3d(PJ_LPZ lpz, PJ *P) {
55 PJ_XYZ xyz;

Callers 2

forward_3dFunction · 0.85
reverse_3dFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected