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

Function forward_error

src/projections/ortho.cpp:28–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26#define EPS10 1.e-10
27
28static PJ_XY forward_error(PJ *P, PJ_LP lp, PJ_XY xy) {
29 proj_errno_set(P, PROJ_ERR_COORD_TRANSFM_OUTSIDE_PROJECTION_DOMAIN);
30 proj_log_trace(P,
31 "Coordinate (%.3f, %.3f) is on the unprojected hemisphere",
32 proj_todeg(lp.lam), proj_todeg(lp.phi));
33 return xy;
34}
35
36static PJ_XY ortho_s_forward(PJ_LP lp, PJ *P) { /* Spheroidal, forward */
37 PJ_XY xy;

Callers 2

ortho_s_forwardFunction · 0.85
ortho_e_forwardFunction · 0.85

Calls 3

proj_errno_setFunction · 0.85
proj_log_traceFunction · 0.85
proj_todegFunction · 0.85

Tested by

no test coverage detected