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

Longitude Class

Represents a longitude value.

Syntax

[Visual Basic]
Dim instance As Longitude

[C#]
Longitude instance

[C++]
Longitude* instance

Remarks

Longitude represents a longitude value and provides various methods to convert the value to a string.

Instance Hierarchy

SciCom
   SciCom.GPSToolKit
     SciCom.GPSToolKit.Longitude

Thread Safety

Longitude is thread safe for use by multiple threads.

Properties

Property Description
IsNorthernHemisphere property Returns true if the longitude lies in the northern hemisphere or is 0, false otherwise
IsValid property Returns true if the longitude is valid, false if it is invalid or unavailable
ValueInDegrees property Returns a double containing the longitude in decimal degrees (negative values denote eastern hemisphere)

Methods

Method Description
ToDecimalDegreesString method Returns a string containing the longitude value in ddd.dddddd° N/S format
ToDegreesMinutesString method Returns a string containing the longitude value in ddd° mm.mmmmm' N/S format
ToDegreesMinutesSecondsString method Returns a string containing the longitude value in ddd° mm' ss.ssss" N/S format

See Also

Position class | Latitude class | Altitude class | PositionUpdate event