This page has been translated automatically.
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Landscape Tool
Using Editor Tools for Specific Tasks
FAQ
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
API
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
Rendering-Related Classes
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

Unigine::Cigi::ICigiEarthModelDef Class

Header: #include <CigiClientInterface.h>
Inherits: ICigiHostPacket
Warning
The CIGIClient plugin is deprecated and no longer supported. For more information on working with CIGI please refer to the IG Application section.

This class represents the CIGI Earth Reference Model Definition packet interface.

Notice
CIGI plugin must be loaded.

ICigiEarthModelDef Class

Members


int getCustomEnabled( )

Returns the value of the Custom ERM Enable parameter specified in the packet.

Return value

Custom ERM Enable parameter value: 1 - the IG shall use the Equatorial Radius and Flattening values to characterize the ellipsoid; 0 - the IG shall use the WGS 84 reference model and all other parameters in this packet shall be ignored.

double getRadius( )

Returns the value of the Equatorial Radius parameter specified in the packet.

Return value

Equatorial Radius parameter value. Determines the semi-major axis of the ellipsoid.

double getFlattening( )

Returns the value of the Flattening parameter specified in the packet.

Return value

Flattening parameter value. Determines the flattening of the ellipsoid.
Last update: 2020-01-14
Build: ()