VisioMove SDK (iOS)
2.1.22
|
Public Member Functions | |
VgPosition () | |
VgPosition (VgEngine::VgConstRefPtr< VgEngine::VgSRS >const &pSRS) | |
VgPosition (const VgPosition &pOther) | |
VgPosition (double pXOrLongitude, double pYOrLatitude, double pZOrAltitude) | |
VgPosition (double pXOrLongitude, double pYOrLatitude, double pZOrAltitude, VgEngine::VgConstRefPtr< VgEngine::VgSRS >const &pSRS) | |
bool | operator== (const VgPosition &pPositionToCompare) const |
bool | operator!= (const VgPosition &pPositionToCompare) const |
Public Attributes | |
VgEngine::VgConstRefPtr< VgEngine::VgSRS > | mSRS |
double | mXOrLongitude |
double | mYOrLatitude |
double | mZOrAltitude |
This struct encapsulates a 3D position. This interpretation of the contents depends on the spatial reference system member. As of now, it can either be local metric coordinates (x, y, z) or WGS84 coordinates (latitude, longitude, altitude) in decimal degrees (and meters above water for altitude).
|
inline |
Default constructor.
Initializes to default values: mYOrLatitude = 0.0 mXOrLongitude = 0.0 mZOrAltitude = 0.0 mSRS = NULL
|
inline |
Constructor.
Initializes to default values: mYOrLatitude = 0.0 mXOrLongitude = 0.0 mZOrAltitude = 0.0
pSRS | A pointer to the spatiual reference system to express the position in. |
|
inline |
Copy constructor. Initializes the position.
pOther | The position object to copy. |
|
inline |
constructor for WGS84 position (because it uses NULL SRS).
pXOrLongitude | longitude of point |
pYOrLatitude | latitude of point |
pZOrAltitude | altitude of point. |
Initializes to default values: mSRS = NULL
|
inline |
constructor for position with SRS. The parameters will be interpreted as a function of the pSRS parameters.
pXOrLongitude | longitude of point |
pYOrLatitude | latitude of point |
pZOrAltitude | altitude of point. |
pSRS | A pointer to the spatiual reference system to express the position in. |
|
inline |
This is an inequality test operator.
pPositionToCompare | The position to compare. |
|
inline |
This is an equality test operator.
pPositionToCompare | The position to compare to. |
References mXOrLongitude, mYOrLatitude, and mZOrAltitude.
VgEngine::VgConstRefPtr< VgEngine::VgSRS > VgEngine::VgPosition::mSRS |
The SRS the position is expressed in. If NULL, it means the position is expressed in WGS84 coordinates.
double VgEngine::VgPosition::mXOrLongitude |
Depending on the SRS used this may be local metric X coordinate, or longitude.
Referenced by operator==().
double VgEngine::VgPosition::mYOrLatitude |
Depending on the SRS used this may be local metric Y coordinate, or latitude.
Referenced by operator==().
double VgEngine::VgPosition::mZOrAltitude |
Depending on the SRS used this may be local metric Z coordinate, or altitude.
Referenced by operator==().