for (int i = 0; i < pointList.size() - 1; i++) {
Point start = pointList.getPoint(i);
Point end = pointList.getPoint(i + 1);
// Translate from relative to absolute coordinates
owner.translateToAbsolute(start);
owner.translateToAbsolute(end);
// Check intersection
if (Geometry.linesIntersect(center.x, center.y, reference.x,
reference.y, start.x, start.y, end.x, end.y)) {