Unigine::Cigi::ICigiEnvironmentRequest Class
Header: | #include <CigiClientInterface.h> |
Inherits: | ICigiHostPacket |
This class represents the CIGI Environmental Conditions Request packet interface.
CIGI plugin must be loaded.
ICigiEnvironmentRequest Class
Members
int getRequestID()
Returns the value of the Request ID parameter specified in the packet. Identifies the environmental conditions request.Return value
Request ID.int getRequestType()
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.
const Math::dvec3& getPosition()
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: 2017-12-21
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)