A region, made of a list of boxes.
More...
#include <Region.hh>
|
| | Region ()=default |
| | Constructor.
|
| virtual | ~Region ()=default |
| | Destructor.
|
| bool | Contains (const ignition::math::Vector3d &_p) const |
| | Check if a point lies inside the region.
|
| void | Load (const sdf::ElementPtr &_sdf) |
| | Load from a world file (inside a SimEvent plugin element)
|
|
| std::vector< ignition::math::Box > | boxes |
| | The list of volumes inside this region.
|
| std::string | name |
| | Name of the region (as defined in the world file)
|
A region, made of a list of boxes.
◆ Region()
◆ ~Region()
◆ Contains()
| bool Contains |
( |
const ignition::math::Vector3d & | _p | ) |
const |
Check if a point lies inside the region.
- Parameters
-
- Returns
- True if point is in region
◆ Load()
| void Load |
( |
const sdf::ElementPtr & | _sdf | ) |
|
Load from a world file (inside a SimEvent plugin element)
- Parameters
-
| [in] | _sdf | The <region> element |
◆ boxes
| std::vector<ignition::math::Box> boxes |
The list of volumes inside this region.
◆ name
Name of the region (as defined in the world file)
The documentation for this class was generated from the following file: