ZylGPSReceiver Mobile for Smart Phone

GPSPosition Members

GPSPosition overview

Public Static (Shared) Fields

RADIUS_EARTH Size of the Earth's radius in kilometers.
TIME_ZONE_ID_DAYLIGHT Daylight timezone id
TIME_ZONE_ID_STANDARD Standard timezone id

Public Static (Shared) Methods

BearingOverloaded. Returns bearing in decimal degrees between two points.
DecimalDegreesToRadians Converts decimal degrees to radians.
DistanceAsKmOverloaded. Returns the distance between two points in kilometers.
DistanceAsMilesOverloaded. Returns the distance between two points in miles.
DMSToDecimalDegrees Converts DMS (Degree/Minute/Second) to decimal degrees.
DMSToDM Converts DMS (DegreeMinuteSecond) to DM (DegreeMinute).
DMSToRadians Converts DMS (Degree/Minute/Second) to radians.
DMToDMS Converts DM (DegreeMinute) to DMS (DegreeMinuteSecond).
FeetToMeters Converts feet to meters.
KmhToKnots Converts km/h to knots.
KmToMiles Converts kilometers to miles.
KmToNauticalMiles Converts kilometers to nautical miles.
KnotsToKmh Converts knots to km/h.
LatitudeDecimalDegreesToDMS Converts decimal degrees to DMS for latitude values.
LatitudeRadiansToDMS Converts radians to DMS for latitude values.
LongitudeDecimalDegreesToDMS Converts decimal degrees to DMS for longitude values.
LongitudeRadiansToDMS Converts radians to DMS for longitude values.
MetersToFeet Converts meters to feet.
MilesToKm Converts miles to kilometers.
NauticalMilesToKm Converts nautical miles to kilometers.
RadiansToDecimalDegrees Converts radians to decimal degrees.

Public Instance Constructors

GPSPosition Constructor Constructor.

Public Instance Properties

Altitude Altitude in meters.
Day Current day of the month.
Fix Returns fix related data: -1 - No info 0 - Invalid 1 - Valid SPS 2 - Valid DGPS 3 - Valid PPS
GeoHeight Difference between WGS-84 reference ellipsoid surface and the mean-sea-level altitude.
HDOP Horizontal dilution of precision.
Heading Heading (course) in decimal degrees.
Hour Current hour.
LatitudeDegree Degree component of latitude.
LatitudeDirection Direction component of latitude. (cpNorth (+) or cpSouth (-))
LatitudeMinute Minute component of latitude.
LatitudeSecond Second component of latitude.
LongitudeDegree Degree component of longitude.
LongitudeDirection Direction component of longitude. (East (+) or West (-))
LongitudeMinute Minute component of longitude.
LongitudeSecond Second component of longitude.
MagneticHeading Magnetic heading.
MagneticVariation Magnetic variation.
MagneticVariationDirection Direction of magnetic variation. (East or West)
Millisecond Current millisecond.
Minute Current minute.
Mode1 Returns the operating mode: 1 - Auto 2D/3D 2 - Forced 2D/3D
Mode2 Returns the operating mode: 1 - If no fix 2 - If the position is a 2D GPS fix 3 - If the position is a 3D GPS fix
Month Current month of the year.
PDOP Position dilution of precision
SatelliteCount Count of the satellites used to determine the fix position. If you need the count of all satellites in view, use Satellites.Count instead of Satellite_Count.
Satellites List of satellites in view (ArrayList of Satellite objects).
Second Current second.
SpeedAsKmh Speed in km/h.
SpeedAsKnots Speed in knots.
VDOP Vertical dilution of precision.
Year Current year.

Public Instance Methods

BearingToOverloaded. Returns bearing in decimal degrees between one point and the current position.
DistanceToAsKmOverloaded. Returns the distance between one point and the current position in kilometers.
DistanceToAsMilesOverloaded. Returns the distance between one point and the current position in miles.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetLatitudeAsDecimalDegrees Returns current latitude in decimal degrees.
GetLatitudeAsDM Returns latitude in DM (DecimalMinute) format.
GetLatitudeAsRadians Returns current latitude in radians.
GetLongitudeAsDecimalDegrees Returns current longitude in decimal degrees.
GetLongitudeAsDM Returns longitude in DM (DecimalMinute) format.
GetLongitudeAsRadians Returns current longitude in radians.
GetType (inherited from Object)Gets the Type of the current instance.
GetUTCDateTime Returns current UTC datetime.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

GPSPosition Class | ZylGPSReceiverMobileSP Namespace