diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-03-19 09:38:56 +0000 |
|---|---|---|
| committer | Jabiertxo Arraiza Zenotz <jtx@jtx.marker.es> | 2013-03-19 09:38:56 +0000 |
| commit | 757f1b17bf5db6b7b5cc8725a0ee3c438c08cafc (patch) | |
| tree | c62786af287828f0f70dba2e079be3cea604d8f4 /src/livarot/PathSimplify.cpp | |
| parent | Working width widgets (diff) | |
| parent | Drop remaining unused functions (diff) | |
| download | inkscape-757f1b17bf5db6b7b5cc8725a0ee3c438c08cafc.tar.gz inkscape-757f1b17bf5db6b7b5cc8725a0ee3c438c08cafc.zip | |
Widgets to effect added
(bzr r11950.1.59)
Diffstat (limited to 'src/livarot/PathSimplify.cpp')
| -rw-r--r-- | src/livarot/PathSimplify.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/livarot/PathSimplify.cpp b/src/livarot/PathSimplify.cpp index d9f609e87..7d9f3f57d 100644 --- a/src/livarot/PathSimplify.cpp +++ b/src/livarot/PathSimplify.cpp @@ -67,6 +67,7 @@ void Path::Simplify(double treshhold) } +#if 0 // dichomtomic method to get distance to curve approximation // a real polynomial solver would get the minimum more efficiently, but since the polynom // would likely be of degree >= 5, that would imply using some generic solver, liek using the sturm metod @@ -114,7 +115,7 @@ static double RecDistanceToCubic(Geom::Point const &iS, Geom::Point const &isD, return current; } - +#endif static double DistanceToCubic(Geom::Point const &start, PathDescrCubicTo res, Geom::Point &pt) { |
