maliput_malidrive
|
Holds linear and angular tolerance to be used by the builder.
A range could be selected for linear tolerance, allowing the builder to try different values of linear tolerances within that range searching for a value that works.
#include <src/maliput_malidrive/builder/road_geometry_configuration.h>
Public Member Functions | |
BuildTolerance (double angular_tolerance_in) | |
Sets angular tolerance. More... | |
BuildTolerance (double linear_tolerance_in, double angular_tolerance_in) | |
Sets linear and angular tolerance. More... | |
BuildTolerance (double min_linear_tolerance_in, double max_linear_tolerance_in, double angular_tolerance_in) | |
Sets linear tolerance range and angular tolerance. More... | |
Public Attributes | |
std::optional< double > | linear_tolerance {std::nullopt} |
Nominal linear_tolerance to be used in the RoadGeometry. More... | |
std::optional< double > | max_linear_tolerance {std::nullopt} |
Maximum range of linear tolerances. More... | |
double | angular_tolerance {constants::kAngularTolerance} |
Angular tolerance to be used in the RoadGeometry. More... | |
|
explicit |
Sets angular tolerance.
angular_tolerance_in | angular tolerance. |
|
explicit |
Sets linear and angular tolerance.
linear_tolerance_in | linear tolerance. |
angular_tolerance_in | angular tolerance. |
|
explicit |
Sets linear tolerance range and angular tolerance.
min_linear_tolerance_in | minimum linear tolerance to be used. |
max_linear_tolerance_in | maximum linear tolerance to be used. |
angular_tolerance_in | angular tolerance. |
double angular_tolerance {constants::kAngularTolerance} |
Angular tolerance to be used in the RoadGeometry.
std::optional<double> linear_tolerance {std::nullopt} |
Nominal linear_tolerance to be used in the RoadGeometry.
Corresponds to the minimumm range of linear tolerances when max_linear_tolerance.has_value
is true.
std::optional<double> max_linear_tolerance {std::nullopt} |
Maximum range of linear tolerances.