|
maliput
|
Bounds in the elevation dimension (h component) of a Lane-frame, consisting of a pair of minimum and maximum h value.
The bounds must straddle h = 0, i.e., the minimum must be <= 0 and the maximum must be >= 0.
#include <include/maliput/api/lane_data.h>
Public Member Functions | |
| HBounds ()=default | |
| Default constructor. More... | |
| HBounds (double min, double max) | |
| Fully parameterized constructor. More... | |
Getters and Setters | |
| double | min () const |
| Gets minimum bound. More... | |
| void | set_min (double min) |
| Sets minimum bound. More... | |
| double | max () const |
| Gets maximum bound. More... | |
| void | set_max (double max) |
| Sets maximum bound. More... | |
|
default |
Default constructor.
Fully parameterized constructor.
| maliput::common::assertion_error | When min is greater than 0. |
| maliput::common::assertion_error | When max is smaller than 0. |
| double max | ( | ) | const |
Gets maximum bound.
| double min | ( | ) | const |
Gets minimum bound.
| void set_max | ( | double | max | ) |
Sets maximum bound.
| maliput::common::assertion_error | When max is smaller than 0. |
| void set_min | ( | double | min | ) |
Sets minimum bound.
| maliput::common::assertion_error | When min is greater than 0. |