/// <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(); }
/// <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>(); }
/// <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>(); }