![]() |
Parasol Planning Library (PPL)
|
Workspace representation of terrain within the world. More...
#include <Environment.h>
Public Types | |
Local Types | |
| enum | Axis { X , Y , Z } |
Public Member Functions | |
Construction | |
| Terrain () | |
| Terrain (XMLNode &_node) | |
| Terrain (const Terrain &_terrain) | |
Assignment | |
| Terrain & | operator= (const Terrain &_terrain) |
Accessors | |
| const glutils::color & | Color () const noexcept |
| Get the color for visualization. More... | |
| Boundary * | GetBoundary () const noexcept |
| Get the single enclosing boundary of the terrain. More... | |
| const std::vector< std::unique_ptr< Boundary > > & | GetBoundaries () const noexcept |
| Get the single enclosing boundaries of the terrain. More... | |
| double | GetPerimeter () |
| Find the perimeter of all the boundaries. More... | |
| 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.
| enum Terrain::Axis |
|
default |
| Terrain::Terrain | ( | XMLNode & | _node | ) |
| Terrain::Terrain | ( | const Terrain & | _terrain | ) |
|
noexcept |
Get the color for visualization.
|
noexcept |
Get the single enclosing boundaries of the terrain.
|
noexcept |
Get the single enclosing boundary of the terrain.
| double Terrain::GetPerimeter | ( | ) |
Find the perimeter of all the boundaries.
|
noexcept |
Check if configuration is in terrain
| _cfg | The configuration to check |
|
noexcept |
Check if point is in terrain
| _p | The point to check |
| bool Terrain::IsNeighbor | ( | const Terrain & | _terrain | ) |
Check if terrain is a neighbor of this terrain
| _terrain | The terrain to check for neighboring |
|
noexcept |
Check if terrain considered virtual
|
noexcept |
Check if mesh will be wired