Drake
LaneEnd Struct Reference

A specific endpoint of a specific Lane. More...

#include <drake/automotive/maliput/api/lane_data.h>

Classes

struct  StrictOrder
 An arbitrary strict complete ordering, useful for, e.g., std::map. More...
 

Public Types

enum  Which { kStart, kFinish }
 Labels for the endpoints of a Lane. More...
 

Public Member Functions

 LaneEnd ()=default
 Default constructor. More...
 
 LaneEnd (const Lane *_lane, Which _end)
 Construct a LaneEnd specifying the end of lane. More...
 

Public Attributes

const Lanelane {}
 
Which end {}
 

Detailed Description

A specific endpoint of a specific Lane.

Member Enumeration Documentation

◆ Which

enum Which

Labels for the endpoints of a Lane.

kStart is the "s == 0" end, and kFinish is the other end.

Enumerator
kStart 
kFinish 

Constructor & Destructor Documentation

◆ LaneEnd() [1/2]

LaneEnd ( )
default

Default constructor.

◆ LaneEnd() [2/2]

LaneEnd ( const Lane _lane,
Which  _end 
)
inline

Construct a LaneEnd specifying the end of lane.

Member Data Documentation

◆ end

Which end {}

◆ lane

const Lane* lane {}

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