Dragway's implementation of api::RoadGeometry.
To understand the characteristics of the geometry, consult the dragway::Segment and dragway::Lane detailed class overview docs.
#include <include/maliput_dragway/road_geometry.h>
|
| RoadGeometry (const api::RoadGeometryId &id, int num_lanes, double length, double lane_width, double shoulder_width, double maximum_height, double linear_tolerance, double angular_tolerance, const math::Vector3 &inertial_to_backend_frame_translation) |
| Constructs a dragway RoadGeometry. More...
|
|
| ~RoadGeometry () final=default |
|
RoadGeometryId | id () const |
|
int | num_junctions () const |
|
const Junction * | junction (int index) const |
|
int | num_branch_points () const |
|
const BranchPoint * | branch_point (int index) const |
|
const IdIndex & | ById () const |
|
RoadPositionResult | ToRoadPosition (const InertialPosition &inertial_position, const std::optional< RoadPosition > &hint=std::nullopt) const |
|
std::vector< RoadPositionResult > | FindRoadPositions (const InertialPosition &inertial_position, double radius) const |
|
double | linear_tolerance () const |
|
double | angular_tolerance () const |
|
double | scale_length () const |
|
std::vector< std::string > | CheckInvariants () const |
|
std::vector< InertialPosition > | SampleAheadWaypoints (const LaneSRoute &lane_s_route, double path_length_sampling_rate) const |
|
math::Vector3 | inertial_to_backend_frame_translation () const |
|
◆ RoadGeometry()
RoadGeometry |
( |
const api::RoadGeometryId & |
id, |
|
|
int |
num_lanes, |
|
|
double |
length, |
|
|
double |
lane_width, |
|
|
double |
shoulder_width, |
|
|
double |
maximum_height, |
|
|
double |
linear_tolerance, |
|
|
double |
angular_tolerance, |
|
|
const math::Vector3 & |
inertial_to_backend_frame_translation |
|
) |
| |
Constructs a dragway RoadGeometry.
- Parameters
-
[in] | id | The ID of this RoadGeometry. This can be any user-selectable value. |
[in] | num_lanes | The number of lanes. This must be greater than zero. |
[in] | length | The length of the dragway. |
[in] | lane_width | The width of each lane. |
[in] | shoulder_width | The width of the shoulders on each side of the road. |
[in] | maximum_height | The maximum height above the road surface modelled by the RoadGeometry. |
[in] | linear_tolerance | The tolerance guaranteed for linear measurements (positions). |
[in] | angular_tolerance | The tolerance guaranteed for angular measurements (orientations). |
[in] | inertial_to_backend_frame_translation | the Inertial Frame to Backend Frame translation vector |
◆ ~RoadGeometry()
The documentation for this class was generated from the following files: