From 16df65976714747f2ab5fb73a47327970ccd723f Mon Sep 17 00:00:00 2001 From: Charles Karney Date: Mon, 15 Feb 2016 18:24:34 -0500 Subject: Upgrade geodesic library from GeographicLib 1.46. * upgrade geodesic.[ch3] * add test suite geodtest.c and invoke via cmake's add_test * increment version to 4.9.3 and library version to 11.0.0 --- man/man3/geodesic.3 | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'man') diff --git a/man/man3/geodesic.3 b/man/man3/geodesic.3 index bf0d764d..450f75f2 100644 --- a/man/man3/geodesic.3 +++ b/man/man3/geodesic.3 @@ -38,7 +38,7 @@ measure angles (latitudes, longitudes, and azimuths) in degrees, unlike the rest of the \fBproj\fR library, which uses radians. The documentation for this library is included in geodesic.h. A formatted version of the documentation is available at -http://geographiclib.sf.net/1.44/C +http://geographiclib.sf.net/1.46/C .SH EXAMPLE The following program reads in lines with the coordinates for two points in decimal degrees (\fIlat1\fR, \fIlon1\fR, \fIlat2\fR, \fIlon2\fR) and @@ -57,7 +57,7 @@ int main() { struct geod_geodesic g; geod_init(&g, a, f); - while (scanf("%lf %lf %lf %lf\en", + while (scanf("%lf %lf %lf %lf", &lat1, &lon1, &lat2, &lon2) == 4) { geod_inverse(&g, lat1, lon1, lat2, lon2, &s12, &azi1, &azi2); @@ -72,7 +72,7 @@ libproj.a \- library of projections and support procedures .SH SEE ALSO Full online documentation for \fBgeodesic(3)\fR, .br -http://geographiclib.sf.net/1.44/C +http://geographiclib.sf.net/1.46/C .PP .B geod(1) .PP @@ -90,8 +90,12 @@ DOI: http://dx.doi.org/10.1007/s00190-012-0578-z .br http://geographiclib.sf.net/geod-addenda.html .PP -The \fIonline geodesic bibliography\fR, +\fIA geodesic bibliography\fR, .br http://geographiclib.sf.net/geodesic-papers/biblio.html +.PP +The Wikipedia page, \fIGeodesics on an ellipsoid\fR, +.br +https://en.wikipedia.org/wiki/Geodesics_on_an_ellipsoid .SH HOME PAGE https://github.com/OSGeo/proj.4/wiki -- cgit v1.2.3 From 37cd45f8e8db3425e93df98583f87aa847215e05 Mon Sep 17 00:00:00 2001 From: Charles Karney Date: Tue, 16 Feb 2016 07:10:56 -0500 Subject: Increment version for geodesic library to 1.46.1. --- man/man1/geod.1 | 2 +- man/man3/geodesic.3 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'man') diff --git a/man/man1/geod.1 b/man/man1/geod.1 index 157996e6..735d6532 100644 --- a/man/man1/geod.1 +++ b/man/man1/geod.1 @@ -2,7 +2,7 @@ .nr LL 7.0i .ad b .hy 1 -.TH GEOD 1 "2013/07/11 Rel. 4.9.0" +.TH GEOD 1 "2013/07/11 Rel. 4.9.3" .SH NAME geod \- direct geodesic computations .br diff --git a/man/man3/geodesic.3 b/man/man3/geodesic.3 index 450f75f2..0ca73707 100644 --- a/man/man3/geodesic.3 +++ b/man/man3/geodesic.3 @@ -1,6 +1,6 @@ .\" @(#)geodesic.3 .nr LL 7.0i -.TH GEODESIC 3 "2014/12/17 Rel. 4.9.0" +.TH GEODESIC 3 "2014/12/17 Rel. 4.9.3" .ad b .hy 1 .SH NAME -- cgit v1.2.3 From f1d58cc00c782934cab507f67b8b5ed97b526ffe Mon Sep 17 00:00:00 2001 From: Charles Karney Date: Tue, 16 Feb 2016 08:37:28 -0500 Subject: Update man pages. --- man/man1/geod.1 | 2 +- man/man3/geodesic.3 | 29 ++++++++++++++++++++++------- 2 files changed, 23 insertions(+), 8 deletions(-) (limited to 'man') diff --git a/man/man1/geod.1 b/man/man1/geod.1 index 735d6532..cc43794e 100644 --- a/man/man1/geod.1 +++ b/man/man1/geod.1 @@ -2,7 +2,7 @@ .nr LL 7.0i .ad b .hy 1 -.TH GEOD 1 "2013/07/11 Rel. 4.9.3" +.TH GEOD 1 "2016/02/16 Rel. 4.9.3" .SH NAME geod \- direct geodesic computations .br diff --git a/man/man3/geodesic.3 b/man/man3/geodesic.3 index 0ca73707..a0090a8d 100644 --- a/man/man3/geodesic.3 +++ b/man/man3/geodesic.3 @@ -1,23 +1,38 @@ .\" @(#)geodesic.3 .nr LL 7.0i -.TH GEODESIC 3 "2014/12/17 Rel. 4.9.3" +.TH GEODESIC 3 "2016/02/16 Rel. 4.9.3" .ad b .hy 1 .SH NAME .B geod_init \- initialize an ellipsoid .br -.B geod_lineinit +.B geod_direct geod_gendirect +\- the direct geodesic problem +.br +.B geod_inverse geod_geninverse +\- the inverse geodesic problem +.br +.B geod_lineinit geod_directline geod_gendirectline geod_inverseline \- initialize a geodesic line .br -.B geod_position +.B geod_setdistance geod_gensetdistance +\- set distance to reference point +.br +.B geod_position geod_genposition \- a position on a geodesic line .br -.B geod_direct -\- the direct geodesic problem +.B geod_polygon_init +\- initialize a polygon .br -.B geod_inverse -\- the inverse geodesic problem +.B geod_addpoint geod_addedge +\- add to a polygon +.br +.B geod_polygon_compute geod_polygon_testpoint geod_polygon_testedge +\- compute properties of polygon +.br +.B geod_polygon_clear +\- clear polygon .br .B geod_polygonarea \- the area of a polygon -- cgit v1.2.3