322323324325326327328329330331332333
if (intersection != null) { /* add the intersection */ MapIntersectionWW newIntersection = new MapIntersectionWW(line1, line2, intersection); line1.addOverlap(newIntersection); line2.addOverlap(newIntersection); }
149150151152153154155156157158159
if (overlap.getOther(segment).getPrimaryRepresentation() == null) continue; if (overlap instanceof MapIntersectionWW) { MapIntersectionWW intersection = (MapIntersectionWW) overlap; if (GeometryUtil.isBetween(intersection.pos, start, end)) { centerlineXZ.add(intersection.pos);
8687888990919293949596
double distance = 10.0; //TODO base on clearing if (overlap instanceof MapIntersectionWW) { MapIntersectionWW intersection = (MapIntersectionWW) overlap; if (otherWO instanceof AbstractNetworkWaySegmentWorldObject) { AbstractNetworkWaySegmentWorldObject otherANWSWO = ((AbstractNetworkWaySegmentWorldObject)otherWO);