WSF
wsf::six_dof::Terrain Class Reference

Terrain provides height of terrain for SixDOF objects. More...

#include <WsfSixDOF_Terrain.hpp>

Classes

struct  TerrainLocation
struct  TerrainRegion

Public Member Functions

 Terrain (TerrainInterface *aWsfTerrain)
 ~Terrain ()=default
bool ReadTerrainFile (const std::string &aFilename)
bool ProcessInput (UtInput &aInput)
double HeightOfTerrain_m (double aLatitude, double aLongitude) const
double HeightOfTerrain_m (double aLatitude, double aLongitude, UtVec3dX &aUpVectorNED, UtVec3dX &aSpeedVectorNED_mps, double &aFrictionMultiplier) const

Protected Member Functions

 Terrain ()=default
 Terrain (const Terrain &aSrc)=default
bool ProcessRegion (UtInput &aInput)
bool ProcessLocation (UtInput &aInput, TerrainRegion &aRegion)
bool HeightOfRegionLocation_ft (double aLatitude, double aLongitude, double &aAlt_ft) const
bool WithinRegion (const TerrainRegion &aRegion, double aLatitude, double aLongitude) const
bool WithinLocation (const TerrainLocation &aLocation, double aLatitude, double aLongitude, double &aAlt_ft) const

Detailed Description

Terrain provides height of terrain for SixDOF objects.

Constructor & Destructor Documentation

◆ Terrain() [1/3]

wsf::six_dof::Terrain::Terrain ( wsf::TerrainInterface * aWsfTerrain)
explicit

Referenced by Terrain().

◆ ~Terrain()

wsf::six_dof::Terrain::~Terrain ( )
default

◆ Terrain() [2/3]

wsf::six_dof::Terrain::Terrain ( )
protecteddefault

◆ Terrain() [3/3]

wsf::six_dof::Terrain::Terrain ( const Terrain & aSrc)
protecteddefault

References Terrain().

Member Function Documentation

◆ HeightOfRegionLocation_ft()

bool wsf::six_dof::Terrain::HeightOfRegionLocation_ft ( double aLatitude,
double aLongitude,
double & aAlt_ft ) const
protected

◆ HeightOfTerrain_m() [1/2]

double wsf::six_dof::Terrain::HeightOfTerrain_m ( double aLatitude,
double aLongitude ) const

References HeightOfRegionLocation_ft().

Referenced by ~Terrain().

◆ HeightOfTerrain_m() [2/2]

double wsf::six_dof::Terrain::HeightOfTerrain_m ( double aLatitude,
double aLongitude,
UtVec3dX & aUpVectorNED,
UtVec3dX & aSpeedVectorNED_mps,
double & aFrictionMultiplier ) const

◆ ProcessInput()

bool wsf::six_dof::Terrain::ProcessInput ( UtInput & aInput)

References ProcessRegion().

Referenced by ReadTerrainFile(), and ~Terrain().

◆ ProcessLocation()

◆ ProcessRegion()

◆ ReadTerrainFile()

bool wsf::six_dof::Terrain::ReadTerrainFile ( const std::string & aFilename)

References ProcessInput().

Referenced by ~Terrain().

◆ WithinLocation()

◆ WithinRegion()

bool wsf::six_dof::Terrain::WithinRegion ( const TerrainRegion & aRegion,
double aLatitude,
double aLongitude ) const
protected

The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved