diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2018-01-31 10:56:11 +0100 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2018-01-31 10:56:11 +0100 |
| commit | e979bce36ccd2bc52cabc0b1192bc0f8d4ed6f33 (patch) | |
| tree | d085407ddc842f25142b48c42e1e0ad978a2ea44 /src/proj_api.h | |
| parent | b6c3d16dae36ed2dfd09e231c5171482553ff2d7 (diff) | |
| download | PROJ-e979bce36ccd2bc52cabc0b1192bc0f8d4ed6f33.tar.gz PROJ-e979bce36ccd2bc52cabc0b1192bc0f8d4ed6f33.zip | |
Add pj_has_inverse().
With the introduction of the "inverted" flag on PJ objects
you can no longer rely on checking that the inv, inv3d and inv4d
functions are available on said PJ object. The function is used
internally a few places and otherwise exposed in proj_api.h to
ensure that users of the old programming interface can safely
check if an operation has an inverse.
Diffstat (limited to 'src/proj_api.h')
| -rw-r--r-- | src/proj_api.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proj_api.h b/src/proj_api.h index 597a2589..40c40ad1 100644 --- a/src/proj_api.h +++ b/src/proj_api.h @@ -155,6 +155,7 @@ projPJ pj_init_ctx( projCtx, int, char ** ); projPJ pj_init_plus_ctx( projCtx, const char * ); char *pj_get_def(projPJ, int); projPJ pj_latlong_from_proj( projPJ ); +int pj_has_inverse(projPJ); void *pj_malloc(size_t); |
