summaryrefslogtreecommitdiffstats
path: root/src/2geom/path-intersection.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-12-13 19:56:16 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-12-13 19:56:16 +0000
commit9d9fc63aac9464b0b642f1818570cf6f6ca601e9 (patch)
treedb2b45bc112de64ad8fa6018a5b45230ca36ef38 /src/2geom/path-intersection.cpp
parentadd sketch mode to pencil tool (diff)
downloadinkscape-9d9fc63aac9464b0b642f1818570cf6f6ca601e9.tar.gz
inkscape-9d9fc63aac9464b0b642f1818570cf6f6ca601e9.zip
update to 2geom rev.1723
(bzr r6996)
Diffstat (limited to 'src/2geom/path-intersection.cpp')
-rw-r--r--src/2geom/path-intersection.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/2geom/path-intersection.cpp b/src/2geom/path-intersection.cpp
index 5a4e76020..bfb1fb96c 100644
--- a/src/2geom/path-intersection.cpp
+++ b/src/2geom/path-intersection.cpp
@@ -78,7 +78,7 @@ int winding(Path const &path, Point p) {
const double fudge = 0.01;
if(cmp(y, next->valueAt(fudge, Y)) == initial_to_ray) {
wind += int(c);
- std::cout << "!!!!!" << int(c) << " ";
+ //std::cout << "!!!!!" << int(c) << " ";
}
iter = next; // No increment, as the rest of the thing hasn't been counted.
} else {
@@ -86,7 +86,7 @@ int winding(Path const &path, Point p) {
if(cmp(y, ny) == initial_to_ray) {
//Is a continuation through the ray, so counts windingwise
wind += int(c);
- std::cout << "!!!!!" << int(c) << " ";
+ //std::cout << "!!!!!" << int(c) << " ";
}
iter = ++next;
}
@@ -177,6 +177,7 @@ linear_intersect(Point A0, Point A1, Point B0, Point B1,
}
+#if 0
typedef union dbl_64{
long long i64;
double d64;
@@ -196,6 +197,7 @@ static double EpsilonOf(double value)
else
return value - s.d64;
}
+#endif
struct rparams {
Curve const &A;