Skip to content

Commit

Permalink
Improve OrientView display precision
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-jts committed Feb 8, 2025
1 parent ca0b8d2 commit ce77bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/OrientationIndexViewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ce77bcf

Please sign in to comment.