Apollo  6.0
Open source self driving car software
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
apollo::hdmap::LaneSegment Struct Reference

#include <path.h>

Collaboration diagram for apollo::hdmap::LaneSegment:
Collaboration graph

Public Member Functions

 LaneSegment ()=default
 
 LaneSegment (LaneInfoConstPtr lane, const double start_s, const double end_s)
 
double Length () const
 
std::string DebugString () const
 

Static Public Member Functions

static void Join (std::vector< LaneSegment > *segments)
 

Public Attributes

LaneInfoConstPtr lane = nullptr
 
double start_s = 0.0
 
double end_s = 0.0
 

Constructor & Destructor Documentation

◆ LaneSegment() [1/2]

apollo::hdmap::LaneSegment::LaneSegment ( )
default

◆ LaneSegment() [2/2]

apollo::hdmap::LaneSegment::LaneSegment ( LaneInfoConstPtr  lane,
const double  start_s,
const double  end_s 
)
inline

Member Function Documentation

◆ DebugString()

std::string apollo::hdmap::LaneSegment::DebugString ( ) const

◆ Join()

static void apollo::hdmap::LaneSegment::Join ( std::vector< LaneSegment > *  segments)
static

Join neighboring lane segments if they have the same lane id

◆ Length()

double apollo::hdmap::LaneSegment::Length ( ) const
inline

Member Data Documentation

◆ end_s

double apollo::hdmap::LaneSegment::end_s = 0.0

◆ lane

LaneInfoConstPtr apollo::hdmap::LaneSegment::lane = nullptr

◆ start_s

double apollo::hdmap::LaneSegment::start_s = 0.0

The documentation for this struct was generated from the following file: