Bounds b = new Bounds(pt.getCoor());
// last should never be null when this is true!
if(pt.drawLine) {
b.extend(last.getCoor());
}
if(b.intersects(box))
{
if(last != null && (visibleSegments.isEmpty()
|| visibleSegments.getLast() != last)) {
if(last.drawLine) {
WayPoint l = new WayPoint(last);