try { double[] spans = getGeneralizationSpans(paintArea.x, paintArea.y, screenToWorld); for (int j = 0; j < 2; j++) { double[] ns = getGeneralizationSpans( paintArea.x + paintArea.width * i / 2.0, paintArea.y + paintArea.height / 2.0,
try { double[] spans = getGeneralizationSpans(paintArea.x, paintArea.y, screenToWorld); double[] ns = getGeneralizationSpans(paintArea.x + paintArea.width * i / 2.0, paintArea.y + paintArea.height / 2.0, screenToWorld); if(ns[0] < spans[0])