About GPS ToolKit.NET Mobile
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
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

Altitude Class

Represents an altitude.

Syntax

[Visual Basic]
Dim instance As Altitude

[C#]
Altitude instance

[C++]
Altitude* instance

[Visual Basic]
Dim instance As New Altitude(AltitudeInMeters)

[C#]
Altitude instance = new Altitude(AltitudeInMeters)

[C++]
Altitude* instance = new Altitude(AltitudeInMeters)

Parameters

AltitudeInMeters

A double representing the altitude in meters.

Remarks

  • Altitude represents an altitude value, available in feet, meters, kilometers, miles, and nautical miles. Because altitude information may not be available from the GPS, it is important to check the IsValid property before using the data.
  • The IsValid property of the Altitude object is false until a valid altitude has been assigned to the object.

Instance Hierarchy

SciCom
   SciCom.GPSToolKit
     SciCom.GPSToolKit.GPSToolKit
         SciCom.GPSToolKit.GPSToolKit.Altitude

Thread Safety

Altitude is thread safe for use by multiple threads.

Properties

Property Description
IsValid property True if the altitude is valid, false if it is invalid or unavailable
ValueInFeet property A double representing the altitude value in feet
ValueInKilometers property A double representing the altitude value in kilometers
ValueInMeters property A double representing the altitude value in meters
ValueInNauticalMiles property A double representing the altitude value in nautical miles

See Also

GPSToolKit class | Position class | PositionUpdate event