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