#include <WsfBMTerrainEngine.hpp>
Inherits il::terrainInterface.
◆ WsfBMTerrainInterface() [1/2]
| WsfBMTerrainInterface::WsfBMTerrainInterface |
( |
| ) |
|
◆ WsfBMTerrainInterface() [2/2]
◆ GetElevation()
| double WsfBMTerrainInterface::GetElevation |
( |
const il::positionRecord & | position | ) |
|
|
override |
Get terrain elevation at a specified point.
- Parameters
-
| position | Position to get terrain elevation at. |
- Returns
- double Terrain elevation in meters
References m_terrain.
◆ IsLOSMasked()
| bool WsfBMTerrainInterface::IsLOSMasked |
( |
const il::positionRecord & | position1, |
|
|
const il::positionRecord & | position2, |
|
|
const bool | ignore_features = true ) |
|
override |
Determine if there is terrain obscuration between two points.
- Parameters
-
| position1 | First position. |
| position2 | Second position. |
| ignore_features | If true, check terrain masking only. If false, vegetation is considered. |
- Returns
- bool true if terrain is obscured, otherwise false.
References m_terrain.
◆ SetSimulation()
| bool WsfBMTerrainInterface::SetSimulation |
( |
WsfSimulation * | sim_ptr | ) |
|
◆ m_sim_ptr
◆ m_terrain
| std::unique_ptr<wsf::Terrain> WsfBMTerrainInterface::m_terrain |
|
protected |
The documentation for this class was generated from the following files: