/// <summary>
        /// Constructor
        /// </summary>
        /// <param name="segmentID">Identification information about the segment</param>
        public Segment(SegmentID segmentID)
        {
            this.segmentID = segmentID;
            way1 = new Way();
            way2 = new Way();
            ways = new Dictionary<WayID, Way>();

            // initialize speed
            speedInformation = new SpeedInformation();
        }
Пример #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="laneID">Identification information for this lane</param>
 /// <param name="way">Way this lane belongs to</param>
 public Lane(LaneID laneID, Way way)
 {
     this.laneID = laneID;
     this.way    = way;
     waypoints   = new Dictionary <RndfWaypointID, RndfWayPoint>();
 }
Пример #3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="laneID">Identification information for this lane</param>
 /// <param name="way">Way this lane belongs to</param>
 public Lane(LaneID laneID, Way way)
 {
     this.laneID = laneID;
     this.way = way;
     waypoints = new Dictionary<RndfWaypointID, RndfWayPoint>();
 }