boolean outside = true;
boolean crossing = false;
List<Node> outerWay = null;
for (int i=0; i<outerWays.size(); i++) {
GeneralPath outer = outerPolygons.get(i);
Intersection intersection = getPolygonIntersection(outer, pdInner);
outside = outside & intersection == Intersection.OUTSIDE;
if (intersection == Intersection.CROSSING) {
crossing = true;
outerWay = outerWays.get(i);
}