Package: inet.common.geometry.common
OsgGeographicCoordinateSystem
simple moduleThis module provides an accurate geographic coordinate system using the built-in OSG API.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
sceneLatitude | double |
latitude coordinate of the scene origin |
|
sceneLongitude | double |
longitude coordinate of the scene origin |
|
sceneAltitude | double | 0m |
altitude coordinate of the scene origin |
sceneHeading | double | 90deg |
geographic heading of the scene (0deg means X axis points north, 90deg means X axis points east) |
sceneElevation | double | 0deg |
geographic elevation of the scene (0deg means X axis is horizontal, positive rotates X axis towards the sky) |
sceneBank | double | 0deg |
bank of the scene |
Properties
Name | Value | Description |
---|---|---|
display | i=block/table2 |
Source code
// // This module provides an accurate geographic coordinate system using the // built-in OSG API. // simple OsgGeographicCoordinateSystem like IGeographicCoordinateSystem { parameters: @display("i=block/table2"); double sceneLatitude @unit(deg); // latitude coordinate of the scene origin double sceneLongitude @unit(deg); // longitude coordinate of the scene origin double sceneAltitude @unit(m) = default(0m); // altitude coordinate of the scene origin double sceneHeading @unit(deg) = default(90deg); // geographic heading of the scene (0deg means X axis points north, 90deg means X axis points east) double sceneElevation @unit(deg) = default(0deg); // geographic elevation of the scene (0deg means X axis is horizontal, positive rotates X axis towards the sky) double sceneBank @unit(deg) = default(0deg); // bank of the scene }File: src/inet/common/geometry/common/GeographicCoordinateSystem.ned