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

Function pj_has_inverse

src/internal.cpp:130–136  ·  view source on GitHub ↗

/

Source from the content-addressed store, hash-verified

128
129/**************************************************************************************/
130int pj_has_inverse(PJ *P) {
131 /***************************************************************************************
132 Check if a a PJ has an inverse.
133 ***************************************************************************************/
134 return ((P->inverted && (P->fwd || P->fwd3d || P->fwd4d)) ||
135 (P->inv || P->inv3d || P->inv4d));
136}
137
138/* Move P to a new context - or to the default context if 0 is specified */
139void proj_context_set(PJ *P, PJ_CONTEXT *ctx) {

Callers 2

pipeline.cppFile · 0.85
proj_pj_infoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected