ad_rss
|
DataType RoadSegment. More...
#include <ad/rss/world/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::rss::world::RoadSegmentType | type {::ad::rss::world::RoadSegmentType::Normal} |
::ad::rss::world::LaneSegmentVector | lane_segments |
::ad::physics::Distance | minimum_length_after_intersecting_area {0.0} |
::ad::physics::Distance | minimum_length_before_intersecting_area {0.0} |
DataType RoadSegment.
A RoadSegment is defined by lateral neighboring lane segments, a type and some intersection correction metrics. The lane segments within a road segment have to be ordered from left to right in respect to the driving direction defined by the road area.
|
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::physics::Distance ad::rss::world::RoadSegment::minimum_length_after_intersecting_area {0.0} |
The mimum length after the actual intersecting area of an intersection type road segment. If > 0 the actual area intersecting with the other vehicles route within an intersection segment ends that distance before this road segment ends.
::ad::physics::Distance ad::rss::world::RoadSegment::minimum_length_before_intersecting_area {0.0} |
The mimum length before the actual intersecting area of an intersection type road segment. If > 0 the actual area intersecting with the other vehicles route within an intersection segment starts that distance after this road segment starts.
::ad::rss::world::RoadSegmentType ad::rss::world::RoadSegment::type {::ad::rss::world::RoadSegmentType::Normal} |
The type of this road segment in context of the RssArea it belongs to.