61 std::vector<std::unique_ptr<element::RoadInfo>> &&info)
111 double GetWidth(
const double s)
const;
120 const double s,
const float extra_width = 0.f)
const;
double GetDistance() const
This file contains definitions of common data structures used in traffic manager. ...
const std::vector< Lane * > & GetPreviousLanes() const
double GetWidth(const double s) const
Returns the total lane width given a s.
LaneId GetPredecessor() const
Lane(LaneSection *lane_section, LaneId id, std::vector< std::unique_ptr< element::RoadInfo >> &&info)
std::vector< Lane * > _next_lanes
#define DEBUG_ASSERT(predicate)
LaneSection * _lane_section
Inherit (privately) to suppress copy construction and assignment.
LaneId GetSuccessor() const
LaneType
Can be used as flags.
const std::vector< Lane * > & GetNextLanes() const
const T * GetInfo(const double s) const
bool IsStraight() const
Checks whether the geometry is straight or not.
geom::Transform ComputeTransform(const double s) const
std::vector< Lane * > _prev_lanes
std::pair< geom::Vector3D, geom::Vector3D > GetCornerPositions(const double s, const float extra_width=0.f) const
Computes the location of the edges given a s.
std::vector< const T * > GetInfos() const
const LaneSection * GetLaneSection() const