diff options
| author | Thomas Knudsen <busstoptaktik@users.noreply.github.com> | 2018-01-08 03:41:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-01-08 03:41:45 +0100 |
| commit | 07bb446ec474cf62094070a8ea848b37c911a075 (patch) | |
| tree | f3212861bb79716af0d4d7008e3b3e44e40f2cd3 /src/proj_internal.h | |
| parent | 4809a281abca09085cba6494a0da247c03f0a487 (diff) | |
| download | PROJ-07bb446ec474cf62094070a8ea848b37c911a075.tar.gz PROJ-07bb446ec474cf62094070a8ea848b37c911a075.zip | |
Discern between 2D projected and 3D cartesian linear units (#732)
Diffstat (limited to 'src/proj_internal.h')
| -rw-r--r-- | src/proj_internal.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/proj_internal.h b/src/proj_internal.h index 3dd04e62..41f95c07 100644 --- a/src/proj_internal.h +++ b/src/proj_internal.h @@ -61,12 +61,14 @@ extern "C" { #define PJ_EPS_LAT 1e-12 -/* This enum is also conditionally defined in projects.h - but we need it here */ -/* for the pj_left/right prototypes, and enums cannot be forward declared */ +/* This enum is also conditionally defined in projects.h - but enums cannot */ +/* be forward declared and we need it here for the pj_left/right prototypes */ enum pj_io_units { - PJ_IO_UNITS_CLASSIC = 0, /* Scaled meters (right) */ - PJ_IO_UNITS_METERS = 1, /* Meters */ - PJ_IO_UNITS_RADIANS = 2 /* Radians */ + PJ_IO_UNITS_WHATEVER = 0, /* Doesn't matter (or depends on pipeline neighbours) */ + PJ_IO_UNITS_CLASSIC = 1, /* Scaled meters (right), projected system */ + PJ_IO_UNITS_PROJECTED = 2, /* Meters, projected system */ + PJ_IO_UNITS_CARTESIAN = 3, /* Meters, 3D cartesian system */ + PJ_IO_UNITS_RADIANS = 4 /* Radians */ }; enum pj_io_units pj_left (PJ *P); enum pj_io_units pj_right (PJ *P); |
