Wraps all the lane-related specifications in a Connection.
#include <include/maliput_multilane/builder.h>
◆ LaneLayout()
LaneLayout |
( |
double |
left_shoulder, |
|
|
double |
right_shoulder, |
|
|
int |
num_lanes, |
|
|
int |
ref_lane, |
|
|
double |
ref_r0 |
|
) |
| |
Constructs a the lane layout of a connection.
Lane reference paths (which are offsets of parent Segment reference curve) are centered within the Lane. Lane spacing will be road geometry fixed lane's width. Segment extents will be derived from the composition of left_shoulder
and right_shoulder
shoulders, number of lanes and lane spacing. ref_lane
lane's centerline will be placed at ref_r0
distance from connection's reference curve.
left_shoulder
and right_shoulder
must be nonnegative. num_lanes
must be positive and ref_lane
must be nonnegative and smaller than num_lanes
.
◆ left_shoulder()
double left_shoulder |
( |
| ) |
const |
◆ num_lanes()
◆ ref_lane()
◆ ref_r0()
◆ right_shoulder()
double right_shoulder |
( |
| ) |
const |
The documentation for this class was generated from the following file: