X-Git-Url: http://gitweb.scilab.org/?p=scilab.git;a=blobdiff_plain;f=scilab%2Fmodules%2Frenderer%2Fsrc%2Fjava%2Forg%2Fscilab%2Fmodules%2Frenderer%2FJoGLView%2Finteraction%2FTwoPointsRubberBox.java;h=20314610163c4945031361afc86b4294d814baed;hp=e6d741bb982a1a7cc6a3e483d731583650cb56b1;hb=8f1d34f014873f6f00e172aa2ccb2a63c6b2bf48;hpb=0743fffdd5f93f7a32638b5121369c4d830bb7ff diff --git a/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/interaction/TwoPointsRubberBox.java b/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/interaction/TwoPointsRubberBox.java index e6d741b..2031461 100644 --- a/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/interaction/TwoPointsRubberBox.java +++ b/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/interaction/TwoPointsRubberBox.java @@ -27,17 +27,4 @@ public class TwoPointsRubberBox extends RubberBox implements PointRubberBox { super(drawerVisitor); } - public double[] getResults() { - double result[] = { - mouseButton - 1, - Math.min(firstPoint.getX(), secondPoint.getX()), - Math.max(firstPoint.getY(), secondPoint.getY()), - Math.max(firstPoint.getZ(), secondPoint.getZ()), - Math.abs(firstPoint.getX() - secondPoint.getX()), - Math.abs(firstPoint.getY() - secondPoint.getY()), - Math.abs(firstPoint.getZ() - secondPoint.getZ()) - }; - - return result; - } }