#include <PhxTerrain.h>
Public Member Functions | |
| virtual | position (const EcefVector &position)=0 |
| EcefVector | position (void) const |
| double | slewRate (void) const |
| virtual void | slewRate (double rate)=0 |
| virtual double | heightAgl (void) const =0 |
| Returns the height of the query position above ground level. | |
| virtual double | heightMsl (void) const =0 |
| Returns the height of the query point above mean sea level. | |
| virtual double | resolution (void) const |
| virtual void | resolution (double resolution)=0 |
Protected Member Functions | |
| void | setPosition (const EcefVector &position) |
| void | setSlewRate (double rate) |
The interface provides a maximum slew rate attribute that prevents the height from popping by more than a specified amount for each unit of time (simulated second). If the terrain is simplified or refined, the height of the surface may change, causing difficulties for some parts of the simulation. This interface interpolates gradually from the old height to the new height, allowing the client to view the terrain as gradually rising up or descending beneath them, rather than suddenly popping to a new location.
|
|
Returns the height of the query position above ground level. Ground level is the surface of the terrain geometry directly "beneath" the query position. |
|
|
Returns the height of the query point above mean sea level. Presently, mean sea level is defined as the surface of the internal ellipsoid used by the terrain engine (i.e., the surface represented by terrain height of 0 everywhere). |
1.4.2