public Road(int id,String name,Intersection from,Intersection to,RoadClass roadClass,RoadLayer roadLayer){
  this.id=id;
  this.name=name;
  this.roadLayer=roadLayer;
  points=new Waypoint[2];
  setIntersections(from,to);
  this.roadClass=roadClass;
  createLines();
  modified=false;
}

public Road ( int id , String name , Intersection from , Intersection to , RoadClass roadClass , RoadLayer roadLayer ) { this . id = id ; this . name = name ; this . roadLayer = roadLayer ; points = new Waypoint [ 2 ] ; setIntersections ( from , to ) ; this . roadClass = roadClass ; createLines ( ) ; modified = false ; }
create a road between two intersections . the detailed segments between the intersections may be filled in later .
