About GPS ToolKit.NET
Introduction
Purchasing GPS ToolKit.NET
Redistributing GPS ToolKit.NET
License Agreement
Support
Getting Started
Getting Started
Setting up the GPS
Basic Concepts
GPS ToolKit Sample Projects
About GPS ToolKit Errors
Reference
GPSToolKit Class
Properties
BaudRate
ExtendedFixData
IsGPSConnected
IsPortOpen
LastPositionUpdateTime
NavigationData
PortName
Protocol
Position
Satellites
Speed
TrueCourse
Methods
AddRoute
AddTrack
AddWaypoint
AutoDetectGPS
Close
GetAvailableSystemPorts
GetGPSInfo
GetRoutes
GetSystemPorts
GetTracks
GetWaypoints
Open
ShutOffGPS
WriteRawBinaryToGPS
WriteRawToGPS
Events
FileComplete
GPSConnected
GPSDisconnected
NavigationUpdate
PositionUpdate
RawDataReceived
SatelliteUpdate
Supporting Classes
Altitude
Angle
Distance
ExtendedFixData
Properties
DGPSRefStationID
EstimatedHorizontalError
EstimatedPositionError
EstimatedVerticalError
FixMode
GeoidHeightAboveWGS84
HDOP
MagneticVariation
NumSatellitesInView
PDOP
TimeSinceLastDGPSUpdate
VDOP
GPSInfo
Latitude
Methods
ToDecimalDegreesString
ToDegreesMinutesString
ToDegreesMinutesSecondsString
Longitude
Methods
ToDecimalDegreesString
ToDegreesMinutesString
ToDegreesMinutesSecondsString
NavData
Properties
ActiveRoute
ArrivedAtDest
CrossTrackError
DestWptName
DestWptPosition
IsValid
MagBearingFromOriginToDest
OriginWptName
TrueBearingFromOriginToDest
TrueBearingToDestWpt
VelocityTowardDestWpt
Position
Methods
BearingFrom
BearingTo
DistanceTo
Route
Properties
Name
Waypoints
Satellite
Speed
Track
Properties
Color
DisplayTrack
Name
TrackPoints
TrackPoint
Waypoint
Collections
RouteCollection
SatelliteCollection
TrackCollection
TrackPointCollection
WaypointCollection

ExtendedFixData.GeoidHeightAboveWGS84 Property

Returns the current geoid height above the WGS84 ellipsoid.

Syntax

[Visual Basic]
object.GeoidHeightAboveWGS84

[C#]
object.GeoidHeightAboveWGS84

[C++]
object->GeoidHeightAboveWGS84

Parameters

object

An object expression that evaluates to an ExtendedFixData instance.

Return Value

An Altitude object containing the current geoid height above the WGS84 ellipsoid.

Remarks

If no geoid height data is available the IsValid property of the Altitude object is false

Errors

None

Example

[Visual Basic]
Dim geoidHeight As Altitude
Dim geoidHeightInMeters As Double

'Get geoid height above the WGS84 ellipsoid
geoidHeight = myGPSToolKit.ExtendedFixData.GeoidHeightAboveWGS84

If geoidHeight.IsValid = True Then
    geoidHeightInMeters = geoidHeight.ValueInMeters
End If


[C#]
Altitude geoidHeight;
double geoidHeightInMeters;

// Get geoid height above the WGS84 ellipsoid
geoidHeight = myGPSToolKit.ExtendedFixData.GeoidHeightAboveWGS84;

if(geoidHeight.IsValid == true)
{
    geoidHeightInMeters = geoidHeight.ValueInMeters;
}


[C++]
Altitude* geoidHeight;
double geoidHeightInMeters;

// Get geoid height above the WGS84 ellipsoid
geoidHeight = myGPSToolKit->ExtendedFixData->GeoidHeightAboveWGS84;

if(geoidHeight->IsValid == true)
{
    geoidHeightInMeters = geoidHeight->ValueInMeters;
}

See Also

ExtendedFixData class | Altitude class