GeoidHeightAboveWGS84Ellipsoid Property
Returns the current geoid height above the WGS84 ellipsoid.
Syntax
Visual Basic
object.GeoidHeightAboveWGS84Ellipsoid
Visual C++
object.GetGeoidHeightAboveWGS84Ellipsoid()
| Part
| Description |
| object |
An object expression that evaluates to a GPS ToolKit object. |
Example
Visual Basic
Dim geoidHeight As Double
'Get geoid height above the WGS84 ellipsoid
geoidHeight = myGPSToolKit.GeoidHeightAboveWGS84Ellipsoid
Visual C++
_variant_t vtGeoidHeight;
// Get geoid height above the WGS84 ellipsoid
vtGeoidHeight = m_myGPSToolKit.GetGeoidHeightAboveWGS84Ellipsoid();
double geoidHeight = (double)vtGeoidHeight;
Remarks
Geoid height above the WGS84 ellipsoid is returned in the units defined in the
AltitudeUnits property.
Default
Empty (VT_EMPTY)
Returns
A VARIANT (type VT_R8/double) containing the last reported geoid height value.
If no geoid height data is reported the variable will be empty (type VT_EMPTY).
Errors
None
See Also
AltitudeUnits property
|