{
float[] centre = getCentre();
- //&!
- //System.out.println(String.format("rectangle: %d, %d, %d, %d, width: %d, height: %d", x1, y1, x2, y2, getWidth(), getHeight()));
for (int i = 0; i < npoint; i++)
{
SequencePoint sp = sequencePoints.get(i);
+ (getHeight() / 2.0));
float pre2 = ((sp.coord.y - centre[1]) * getScaleFactor());
- //&!
- //System.out.println(String.format("%s -- pre1: %3.2f, tmp1: %d, pre2: %3.2f, tmp2: %d", sp.toString(), pre1, tmp1, pre2, tmp2));
if ((tmp1 > x1) && (tmp1 < x2) && (tmp2 > y1) && (tmp2 < y2))
{
if (av != null)