MapOverlapWA overlapWA = (MapOverlapWA) overlap;
if (overlap.type == MapOverlapType.INTERSECT
&& otherWO instanceof AbstractAreaWorldObject) {
AbstractAreaWorldObject otherAAWO =
((AbstractAreaWorldObject)otherWO);
for (int i = 0; i < overlapWA.getIntersectionPositions().size(); i++) {
VectorXZ pos =
overlapWA.getIntersectionPositions().get(i);
MapAreaSegment areaSegment =
overlapWA.getIntersectingAreaSegments().get(i);
EleConnector thisConn = primaryRep.getEleConnectors()
.getConnector(pos);
EleConnector base1 = otherAAWO.getEleConnectors()
.getConnector(areaSegment.getStartNode().getPos());
EleConnector base2 = otherAAWO.getEleConnectors()
.getConnector(areaSegment.getEndNode().getPos());
if (thisConn != null && base1 != null && base2 != null) {
if (thisIsUpper) {