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