}
for (int h = 0; h < holes.size(); h++) {
List<MapNode> holeNodes = holes.get(h);
SimplePolygonXZ holePolygon = polygon.getHoles().get(h);
for (int v = 0; v+1 < holeNodes.size(); v++) {
//relies on duplication of first/last node
areaSegments.add(new MapAreaSegment(this,
!holePolygon.isClockwise(),
holeNodes.get(v), holeNodes.get(v+1)));
}
}