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

Function error_or_coord

src/fwd.cpp:176–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176static inline PJ_COORD error_or_coord(PJ *P, PJ_COORD coord, int last_errno) {
177 if (P->ctx->last_errno)
178 return proj_coord_error();
179
180 P->ctx->last_errno = last_errno;
181
182 return coord;
183}
184
185PJ_XY pj_fwd(PJ_LP lp, PJ *P) {
186 PJ_COORD coo = {{0, 0, 0, 0}};

Callers 2

pj_fwdFunction · 0.70
pj_fwd3dFunction · 0.70

Calls 1

proj_coord_errorFunction · 0.85

Tested by

no test coverage detected