Merge commit '42b2e5ca519766e37ce6941ba4faecc9691cc403' into upstream
[debian/openrocket] / core / src / net / sf / openrocket / gui / scalefigure / FinPointFigure.java
index 0f08be213a67770443bf123493bbfb368af84114..cd5b9490ea6c31d49a3088f65085fc59f1578a99 100644 (file)
@@ -235,8 +235,8 @@ public class FinPointFigure extends AbstractScaleFigure {
                double y0 = p.y / EXTRA_SCALE;
                double delta = BOX_SIZE / scale;
                
-               System.out.println("Point: " + x0 + "," + y0);
-               System.out.println("delta: " + (BOX_SIZE / scale));
+               //System.out.println("Point: " + x0 + "," + y0);
+               //System.out.println("delta: " + (BOX_SIZE / scale));
                
                Coordinate[] points = finset.getFinPoints();
                for (int i = 1; i < points.length; i++) {
@@ -249,7 +249,7 @@ public class FinPointFigure extends AbstractScaleFigure {
                        
                        double u = Math.abs((x2 - x1) * (y1 - y0) - (x1 - x0) * (y2 - y1)) /
                                                MathUtil.hypot(x2 - x1, y2 - y1);
-                       System.out.println("Distance of segment " + i + " is " + u);
+                       //System.out.println("Distance of segment " + i + " is " + u);
                        if (u < delta)
                                return i;
                }