}
private void tryToMoveNodeOnIntersection(List<WaySegment> wss, Node n) {
if (wss.isEmpty())
return;
WaySegment ws = wss.get(0);
EastNorth p1=ws.getFirstNode().getEastNorth();
EastNorth p2=ws.getSecondNode().getEastNorth();
if (snapHelper.dir2!=null && currentBaseNode!=null) {
EastNorth xPoint = Geometry.getSegmentSegmentIntersection(p1, p2, snapHelper.dir2, currentBaseNode.getEastNorth());
if (xPoint!=null) {
n.setEastNorth(xPoint);
}