SegmentSpecialSpeedSituation constructor

SegmentSpecialSpeedSituation(
  1. SpecialSpeedType specialSpeedType,
  2. double speedLimitInMetersPerSecond,
  3. List<TimeRule> appliesDuring
)

Creates a new instance with default values.

  • specialSpeedType Represents the speed situation type.
  • speedLimitInMetersPerSecond Overrides normal speed limit for this situation.

May be 0 to indicate no special speed limit in the case of special_speed_type = SPEED_BUMPS_PRESENT and special_speed_type = LANE_DEPENDENT. Speed limit in meter per seconds.

  • appliesDuring The times during which the condition applies. May be empty for all special_speed_type values except TIME_DEPENDENT and APPROXIMATE_SEASONAL_TIME.

Implementation

SegmentSpecialSpeedSituation(this.specialSpeedType, this.speedLimitInMetersPerSecond, this.appliesDuring);