19#include <lanelet2_core/primitives/Lanelet.h>
20#include <lanelet2_core/primitives/Point.h>
71 return this == &other || (this->downtrack == other.
downtrack && this->crosstrack == other.
crosstrack);
76 return !(*
this == other);
Position in a track based coordinate system where the axis are downtrack and crosstrack....
bool operator!=(const TrackPos &other) const
lanelet::ArcCoordinates toArcCoordinates()
Returns a lanelet ArcCoordinate built from this TrackPos where downtrack = ArcCoordinates....
bool operator==(const TrackPos &other) const
TrackPos(const lanelet::ArcCoordinates &arc_coord)
Constructor from lanelet ArcCoordinates which are converted to TrackPos where downtrack = ArcCoordina...
TrackPos(double down_track, double cross_track)
Constructor.