From c9cd0b1758a62928c82a3d9885df736eab088401 Mon Sep 17 00:00:00 2001 From: Ralf Gerlich Date: Mon, 25 Aug 2008 11:33:06 +0200 Subject: [PATCH] Revert "Sign bug in calc_point_inside()" This reverts commit 4797373664b97ca48caa5f0eeaa448225545aa1c. --- src/Lib/Geometry/poly_support.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Lib/Geometry/poly_support.cxx b/src/Lib/Geometry/poly_support.cxx index 139da4fc..feb2d898 100644 --- a/src/Lib/Geometry/poly_support.cxx +++ b/src/Lib/Geometry/poly_support.cxx @@ -667,7 +667,7 @@ static void calc_point_inside( TGContourNode *node, TGPolygon &p ) { if (diff<=8.0*SG_EPSILON) { continue; } - yline=point_it->y()-diff/2.0; + yline=point_it->y()+diff/2.0; // cout << "calc_point_inside() " << allpoints.size() << " points "; // copy(allpoints.begin(), allpoints.end(), ostream_iterator(cout, " "));