|
MVSim
Lightweight simulator for 2.5D vehicles and robots
|
#include <VerticalPlane.h>
Public Types | |
| enum class | Type { DOOR , WINDOW } |
Public Member Functions | |
| bool | overlaps (float pos_start, float pos_end) const |
Public Attributes | |
| Type | type = Type::DOOR |
| float | position = 0.0f |
| Position along wall length [0,1] (0=start, 1=end) | |
| float | width = 1.0f |
| Width of opening in meters. | |
| float | z_min = 0.0f |
| Bottom height of opening (meters) | |
| float | z_max = 2.1f |
| Top height of opening (meters) | |
| std::string | name |
| Optional name for the opening. | |
Structure to represent an opening (door or window) in the wall
| bool mvsim::VerticalPlane::Opening::overlaps | ( | float | pos_start, |
| float | pos_end | ||
| ) | const |
Check if this opening overlaps with a given position range