[geos-commits] [SCM] GEOS branch main updated. ce77bcf3b7c16ec403f688fd27eaa24e45cfa670

git at osgeo.org git at osgeo.org
Sat Feb 8 14:25:19 PST 2025


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".

The branch, main has been updated
       via  ce77bcf3b7c16ec403f688fd27eaa24e45cfa670 (commit)
      from  ca0b8d276f96a439eafd7127230a2e5ee5532557 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ce77bcf3b7c16ec403f688fd27eaa24e45cfa670
Author: Martin Davis <mtnclimb at gmail.com>
Date:   Sat Feb 8 14:24:35 2025 -0800

    Improve OrientView display precision

diff --git a/util/OrientationIndexViewer.cpp b/util/OrientationIndexViewer.cpp
index f2763499b..845700701 100644
--- a/util/OrientationIndexViewer.cpp
+++ b/util/OrientationIndexViewer.cpp
@@ -139,7 +139,7 @@ void computeGrid(double x0, double y0, double x1, double y1, double xp, double y
     Coordinate p0(x0, y0);
     Coordinate p1(x1, y1);
 
-    std::cout << "LINESTRING ( " << x0 << " " << y0 << ", " << x1 << " " << y1 << " )" << std::endl;
+    std::cout << std::setprecision(20) << "LINESTRING ( " << x0 << " " << y0 << ", " << x1 << " " << y1 << " )" << std::endl;
     computePoint(0, 0, xp, yp, p0, p1, false, true);
     computePoint(0, 0, xp, yp, p0, p1, true, true);
     std::cout << std::endl;

-----------------------------------------------------------------------

Summary of changes:
 util/OrientationIndexViewer.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list