GeoPoint.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 
12 
14 struct GeoPoint
15  {
16  double longitude;
17  double latitude;
18  double elevation;
19 
20 #if defined (__cplusplus)
21  void Init (double longitudeValue, double latitudeValue, double elevationValue) {longitude = longitudeValue; latitude=latitudeValue; elevation = elevationValue;}
26 #endif
27  };
28 
30 struct GeoPoint2d
31  {
32  double longitude;
33  double latitude;
34 
35 #if defined (__cplusplus)
36  void Init (double longitudeValue, double latitudeValue) {longitude = longitudeValue; latitude=latitudeValue; }
40 #endif
41  };
42 
45  {
57  };
58 
59 
61 
< Unable to stroke element for reprojection.
Definition: GeoPoint.h:55
< The element was successfully reprojected.
Definition: GeoPoint.h:47
< A bad argument passed to a Reproject method.
Definition: GeoPoint.h:53
Geographic Point.
Definition: GeoPoint.h:14
double latitude
Definition: GeoPoint.h:17
< The element does not require reprojection.
Definition: GeoPoint.h:54
< The reprojection did not complete because there was a CSMap error.
Definition: GeoPoint.h:52
void Init(double longitudeValue, double latitudeValue)
Initializes a GeoPoint to the specified values.
Definition: GeoPoint.h:39
#define END_BENTLEY_GEOMETRY_NAMESPACE
Definition: Bentley.r.h:30
void Init(double longitudeValue, double latitudeValue, double elevationValue)
Initializes a GeoPoint to the specified values.
Definition: GeoPoint.h:25
< The datum conversion structure could not be set. This may be interpreted as a warning but user shou...
Definition: GeoPoint.h:50
Geographic 2D point.
Definition: GeoPoint.h:30
< The reprojection contains points that are outside of the useful range of the calculation, warning.
Definition: GeoPoint.h:48
< The reprojection contains points that are outside of the mathematical domain of the calculation...
Definition: GeoPoint.h:49
ReprojectStatus
Status values returned by GeoCoordinate System reproject methods, including Handler::_OnGeoCoordinate...
Definition: GeoPoint.h:44
double longitude
Definition: GeoPoint.h:32
double longitude
Definition: GeoPoint.h:16
< The data we are trying to reproject is incorrect.
Definition: GeoPoint.h:56
#define BEGIN_BENTLEY_GEOMETRY_NAMESPACE
Definition: Bentley.r.h:29
Definition: GeoPoint.h:46
double elevation
Definition: GeoPoint.h:18
double latitude
Definition: GeoPoint.h:33
< Some error occured while applying vertical datum elevation correction. This is likely a vertcon or ...
Definition: GeoPoint.h:51

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