aboutsummaryrefslogtreecommitdiff
path: root/src/proj.h
diff options
context:
space:
mode:
authorThomas Knudsen <busstoptaktik@users.noreply.github.com>2017-11-16 18:05:54 +0100
committerGitHub <noreply@github.com>2017-11-16 18:05:54 +0100
commit9532b482d03b57e26f735dd695257d41fc91cb5f (patch)
tree8a21cd7014d1d6d9d61f436e410d0de1e39e324e /src/proj.h
parentf08a7c0cf9dc3ed017a224e196e9d251da8dc97c (diff)
downloadPROJ-9532b482d03b57e26f735dd695257d41fc91cb5f.tar.gz
PROJ-9532b482d03b57e26f735dd695257d41fc91cb5f.zip
Introduce geodetic-geocentric conversions ... (#669)
* Introduce geodetic-geocentric conversions, as PJ_xxx style conversion step and as API entry points * minor improvements and minor bug squashing
Diffstat (limited to 'src/proj.h')
-rw-r--r--src/proj.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/proj.h b/src/proj.h
index cb689621..e2ca6bea 100644
--- a/src/proj.h
+++ b/src/proj.h
@@ -370,8 +370,7 @@ int proj_angular_output (PJ *P, enum PJ_DIRECTION dir);
PJ_COORD proj_trans (PJ *P, PJ_DIRECTION direction, PJ_COORD coord);
-
-
+int proj_trans_array (PJ *P, PJ_DIRECTION direction, size_t n, PJ_COORD *coord);
size_t proj_trans_generic (
PJ *P,
PJ_DIRECTION direction,
@@ -381,7 +380,7 @@ size_t proj_trans_generic (
double *t, size_t st, size_t nt
);
-int proj_trans_array (PJ *P, PJ_DIRECTION direction, size_t n, PJ_COORD *coord);
+
/* Initializers */
PJ_COORD proj_coord (double x, double y, double z, double t);
@@ -431,6 +430,9 @@ const PJ_PRIME_MERIDIANS *proj_list_prime_meridians(void);
double proj_torad (double angle_in_degrees);
double proj_todeg (double angle_in_radians);
+/* Geographical to geocentric latitude - another of the "simple, but useful" */
+PJ_COORD proj_geoc_lat (const PJ *P, PJ_DIRECTION direction, PJ_COORD coo);
+
double proj_dmstor(const char *is, char **rs);
char* proj_rtodms(char *s, double r, int pos, int neg);