IGlobalPosition.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------------------+
2 |
3 | Supplied under applicable software license agreement.
4 |
5 | Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
6 |
7 +---------------------------------------------------------------------------------------*/
8 #pragma once
9 
10 /*---------------------------------------------------------------------------------**/
15 {
16 double longitude; // degrees, negative for west, WGS84 datum. Invalid if fixDimension < 2
17 double latitude; // degrees, negative for south, WGS84 datum. Invalid if fixDimension < 2
18 double elevation; // meters, invalid if fixDimension < 3
19 Int64 UTCTicks; // milliseconds beginning of 1970. invalid if < 0
20 int fixDimension; // 0, 2, or 3.
21 double PDOP; // composite position dilution of precision (invalid if < 0)
22 double HDOP; // horizontal dilution of precision (invalid if < 0)
23 double VDOP; // vertical dilution of precision (invalid if < 0)
24 double heading; // heading clockwise from true north, degrees. (invalid if < 0)
25 double velocity; // speed in direction
26 };
27 
29 
30 /*---------------------------------------------------------------------------------**/
41 {
42 virtual bool GPSAvailable () = 0;
43 virtual StatusInt GetLatestPositionData (GlobalPositionData *data) = 0;
44 };
45 
46 
47 
#define END_BENTLEY_MSTNPLATFORM_NAMESPACE
Definition: DgnPlatform.h:30
double elevation
Definition: IGlobalPosition.h:18
double latitude
Definition: IGlobalPosition.h:17
#define BEGIN_BENTLEY_MSTNPLATFORM_NAMESPACE
Definition: DgnPlatform.h:29
double velocity
Definition: IGlobalPosition.h:25
double VDOP
Definition: IGlobalPosition.h:23
double longitude
Definition: IGlobalPosition.h:16
This interface defines a "Global Position Source" object.
Definition: IGlobalPosition.h:40
double PDOP
Definition: IGlobalPosition.h:21
Int64 UTCTicks
Definition: IGlobalPosition.h:19
double HDOP
Definition: IGlobalPosition.h:22
int StatusInt
Definition: Bentley.h:222
int64_t Int64
Definition: Bentley.r.h:130
double heading
Definition: IGlobalPosition.h:24
This struct defines the global position data that is available.
Definition: IGlobalPosition.h:14
int fixDimension
Definition: IGlobalPosition.h:20

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.