aboutsummaryrefslogtreecommitdiff
path: root/src/proj.h
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2017-07-12 14:07:31 +0200
committerKristian Evers <kristianevers@gmail.com>2017-07-13 13:39:27 +0200
commit94210f99b79b486c39a18a450f89ea2faffd361c (patch)
treea43e8fd0252410aca648ae801e7d72b94c7baf6b /src/proj.h
parentc3fd68227b408a0172afb449651d3dae6b38612e (diff)
downloadPROJ-94210f99b79b486c39a18a450f89ea2faffd361c.tar.gz
PROJ-94210f99b79b486c39a18a450f89ea2faffd361c.zip
Added proj_has_inverse(). Fixes #155.
Diffstat (limited to 'src/proj.h')
-rw-r--r--src/proj.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/proj.h b/src/proj.h
index f94fb384..c0b8b7cc 100644
--- a/src/proj.h
+++ b/src/proj.h
@@ -337,6 +337,7 @@ void proj_errno_set (PJ *P, int err);
int proj_errno_reset (PJ *P);
void proj_errno_restore (PJ *P, int err);
+
/* Build a fully expanded proj_create() compatible representation of P */
char *proj_definition_retrieve (PJ *P);
/* ...and get rid of it safely */
@@ -349,6 +350,10 @@ void *proj_release (void *buffer);
double proj_torad (double angle_in_degrees);
double proj_todeg (double angle_in_radians);
+/* Check if a projection has an inverse mapping */
+int proj_has_inverse(PJ *P);
+
+
#ifdef __cplusplus
}
#endif