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

Function error_or_coord

src/inv.cpp:144–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144static inline PJ_COORD error_or_coord(PJ *P, PJ_COORD coord, int last_errno) {
145 if (P->ctx->last_errno)
146 return proj_coord_error();
147
148 P->ctx->last_errno = last_errno;
149
150 return coord;
151}
152
153PJ_LP pj_inv(PJ_XY xy, PJ *P) {
154 PJ_COORD coo = {{0, 0, 0, 0}};

Callers 2

pj_invFunction · 0.70
pj_inv3dFunction · 0.70

Calls 1

proj_coord_errorFunction · 0.85

Tested by

no test coverage detected