Class Lane::Properties
Defined in File Graph.hpp
Nested Relationships
This class is a nested type of Class Graph::Lane.
Class Documentation
-
class Properties
The Lane Properties class contains properties that apply across the full extent of the lane.
Public Functions
-
Properties()
Construct a default set of properties
speed_limit: nullopt
-
std::optional<double> speed_limit() const
Get the speed limit along this lane. If a std::nullopt is returned, then there is no specified speed limit for the lane.
-
Properties &speed_limit(std::optional<double> value)
Set the speed limit along this lane. Providing a std::nullopt indicates that there is no speed limit for the lane.
-
Properties()