private boolean heyThatsTooClose(Point2D p,Point2D q,double min){
  return Math.abs(p.getX() - q.getX()) < min && Math.abs(p.getY() - q.getY()) < min;
}

private boolean heyThatsTooClose ( Point2D p , Point2D q , double min ) { return Math . abs ( p . getX ( ) - q . getX ( ) ) < min && Math . abs ( p . getY ( ) - q . getY ( ) ) < min ; }
rejects picking if the rectangle is too small , like if the user meant to select one vertex but moved the mouse slightly
