}
public IRoad getNextElement(IMapElement _currentElement, boolean fToL) throws Exception {
if(_currentElement.getClass().equals(IRoad.class)){
IRoad currentElement = (IRoad) _currentElement;
ICrossRoad first = currentElement.getFCross();
ICrossRoad last = currentElement.getLCross();
ICrossRoad nextCross = this.getNextCross(first,last);
if (nextCross !=null){
if (nextCross.equals(first)&&!fToL){