ad_map_access
|
DataType RoadSegment. More...
#include <ad/map/route/RoadSegment.hpp>
Public Types | |
typedef std::shared_ptr< RoadSegment > | Ptr |
Smart pointer on RoadSegment. | |
typedef std::shared_ptr< RoadSegment const > | ConstPtr |
Smart pointer on constant RoadSegment. | |
Public Member Functions | |
RoadSegment ()=default | |
standard constructor | |
~RoadSegment ()=default | |
standard destructor | |
RoadSegment (const RoadSegment &other)=default | |
standard copy constructor | |
RoadSegment (RoadSegment &&other)=default | |
standard move constructor | |
RoadSegment & | operator= (const RoadSegment &other)=default |
standard assignment operator More... | |
RoadSegment & | operator= (RoadSegment &&other)=default |
standard move operator More... | |
bool | operator== (const RoadSegment &other) const |
standard comparison operator More... | |
bool | operator!= (const RoadSegment &other) const |
standard comparison operator More... | |
Public Attributes | |
::ad::map::route::LaneSegmentList | drivableLaneSegments |
::ad::map::route::SegmentCounter | segmentCountFromDestination {0} |
::ad::map::point::BoundingSphere | boundingSphere |
DataType RoadSegment.
Defines a segment of a road containing parallel lanes that are allowed to be used. The segment consists of an ordered list of RouteLaneInterval entries and a counter of the road segment. The RouteLaneIntervals are ordered from right most lane at index 0 up to left most lane in the sense of the route traveling direction. The counter is assigned once on route planning indicating the segment count from destination. The first segment of the initially planned route should have a segmentCountFromDestination == 'number of route segments' and the last segment a segmentCountFromDestination == 1. If the stack transports only route previews or is shortening the route while traveling along one gains information on how the route changed. In addition the road segments bounding sphere is provided.
|
inline |
standard comparison operator
[in] | other | Other RoadSegment. |
true
if both RoadSegment are different
|
default |
standard assignment operator
[in] | other | Other RoadSegment |
|
default |
|
inline |
standard comparison operator
[in] | other | Other RoadSegment |
true
if both RoadSegment are equal ::ad::map::point::BoundingSphere ad::map::route::RoadSegment::boundingSphere |
Bounding sphere of the road segment