Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Unigine::Cigi::ICigiEnvironmentRequest Class
Header: | #include <CigiClientInterface.h> |
Inherits: | ICigiHostPacket |
This class represents the CIGI Environmental Conditions Request packet interface.
Notice
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: 2018-06-04
Help improve this article
(or select a word/phrase and press Ctrl+Enter)