CigiEnvironmentRequest Class
The functionality described in this article is not available in the Community SDK edition.
You should upgrade to- Sim
SDK edition to use it.
You should upgrade to
Header: | #include <plugins/UnigineCIGIConnector.h> |
Inherits from: | CigiHostPacket |
CigiEnvironmentRequest Class
Members
int getRequestID ( ) const#
Returns the value of the Request ID parameter specified in the packet. Identifies the environmental conditions request.Return value
Request ID.int getRequestType ( ) const#
Returns the value of the Request Type parameter specified in the packet. Determines with which packet the IG shall respond.Return value
Request Type parameter value. The following values are supported:- 1 - Maritime Surface Conditions.
- 2 - Terrestrial Surface Conditions.
- 4 - Weather Conditions.
- 8 - Aerosol Concentration.
Math::dvec3 getPosition ( ) const#
Returns the three-component vector of the values of the Latitude, Longitude and Altitude parameters specified in the packet. Specifies the geodetic latitude, longitude, and altitude at which the environmental state is requested.Return value
Three-component vector of the [Latitude, Longitude, Altitude] parameters values.Last update:
2021-12-13
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)