Workspace representation of terrain within the world.
More...
|
|
| Terrain () |
|
| Terrain (XMLNode &_node) |
|
| Terrain (const Terrain &_terrain) |
|
|
const glutils::color & | Color () const noexcept |
| Get the color for visualization.
|
|
Boundary * | GetBoundary () const noexcept |
| Get the single enclosing boundary of the terrain.
|
|
const std::vector< std::unique_ptr< Boundary > > & | GetBoundaries () const noexcept |
| Get the single enclosing boundaries of the terrain.
|
|
double | GetPerimeter () |
| Find the perimeter of all the boundaries.
|
|
bool | InTerrain (const Point3d _p) const noexcept |
|
bool | InTerrain (const Cfg _cfg) const noexcept |
|
bool | IsNeighbor (const Terrain &_terrain) |
|
bool | IsVirtual () const noexcept |
|
bool | IsWired () const noexcept |
|
Workspace representation of terrain within the world.
◆ InTerrain() [1/2]
bool Terrain::InTerrain |
( |
const Point3d |
_p | ) |
const |
|
noexcept |
Check if point is in terrain
- Parameters
-
- Returns
- True if _p within m_boundaries
◆ InTerrain() [2/2]
bool Terrain::InTerrain |
( |
const Cfg |
_cfg | ) |
const |
|
noexcept |
Check if configuration is in terrain
- Parameters
-
_cfg | The configuration to check |
- Returns
- True if _cfg within m_boundaries
◆ IsNeighbor()
bool Terrain::IsNeighbor |
( |
const Terrain & |
_terrain | ) |
|
Check if terrain is a neighbor of this terrain
- Parameters
-
_terrain | The terrain to check for neighboring |
- Returns
- True if _terrain is touching this terrain
◆ IsVirtual()
bool Terrain::IsVirtual |
( |
| ) |
const |
|
noexcept |
Check if terrain considered virtual
- Returns
- Value of m_virtual
◆ IsWired()
bool Terrain::IsWired |
( |
| ) |
const |
|
noexcept |
Check if mesh will be wired
- Returns
- Value of m_wire
The documentation for this class was generated from the following files:
- Environment.h
- Environment.cpp