注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
CigiEnvironmentRequest Class
Header: | #include <UnigineCIGIConnector.h> |
CigiEnvironmentRequest 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 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:
2020-04-10
Help improve this article
(or select a word/phrase and press Ctrl+Enter)