A lanelet path represents a set of lanelets that can be reached in order by either driving straight or doing lane changes. More...
#include <LaneletPath.h>
Public Types | |
using | const_iterator = ConstLanelets::const_iterator |
using | iterator = ConstLanelets::iterator |
Public Member Functions | |
const ConstLanelet & | back () const |
iterator | begin () |
const_iterator | begin () const |
bool | empty () const |
iterator | end () |
const_iterator | end () const |
const ConstLanelet & | front () const |
LaneletSequence | getRemainingLane (const ConstLanelet &llt) const |
LaneletSequence | getRemainingLane (const_iterator laneletPosition) const |
Returns all succeeding lanelets from the current position that can be reached without changing lanes. More... | |
LaneletPath (ConstLanelets lanelets={}) | |
bool | operator!= (const LaneletPath &other) const |
bool | operator== (const LaneletPath &other) const |
const ConstLanelet & | operator[] (size_t idx) const |
size_t | size () const |
Private Attributes | |
ConstLanelets | lanelets_ |
A lanelet path represents a set of lanelets that can be reached in order by either driving straight or doing lane changes.
Definition at line 13 of file LaneletPath.h.
using lanelet::routing::LaneletPath::const_iterator = ConstLanelets::const_iterator |
Definition at line 16 of file LaneletPath.h.
using lanelet::routing::LaneletPath::iterator = ConstLanelets::iterator |
Definition at line 15 of file LaneletPath.h.
|
inlineexplicit |
Definition at line 18 of file LaneletPath.h.
|
inline |
Definition at line 27 of file LaneletPath.h.
|
inline |
Definition at line 20 of file LaneletPath.h.
|
inline |
Definition at line 21 of file LaneletPath.h.
|
inline |
Definition at line 25 of file LaneletPath.h.
|
inline |
Definition at line 22 of file LaneletPath.h.
|
inline |
Definition at line 23 of file LaneletPath.h.
|
inline |
Definition at line 26 of file LaneletPath.h.
|
inline |
Definition at line 40 of file LaneletPath.h.
LaneletSequence lanelet::routing::LaneletPath::getRemainingLane | ( | LaneletPath::const_iterator | laneletPosition | ) | const |
Returns all succeeding lanelets from the current position that can be reached without changing lanes.
Definition at line 326 of file LaneletPath.cpp.
|
inline |
Definition at line 33 of file LaneletPath.h.
|
inline |
Definition at line 35 of file LaneletPath.h.
|
inline |
Definition at line 28 of file LaneletPath.h.
|
inline |
Definition at line 24 of file LaneletPath.h.
|
private |
Definition at line 45 of file LaneletPath.h.