Simple Module OsgGeographicCoordinateSystem

Package: inet.common.geometry.common
File: src/inet/common/geometry/common/CoordinateSystem.ned

This module provides an accurate geographic coordinate system using the built-in OSG API.

OsgGeographicCoordinateSystem

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Networks:

Name Type Description
EarthVisualizationExample network (no description)
EarthVisualizationExample network (no description)
VisualizationB network (no description)
VisualizationTutorialC network (no description)

Parameters:

Name Type Default value Description
playgroundLatitude double

latitude coordinate of the playground origin

playgroundLongitude double

longitude coordinate of the playground origin

playgroundAltitude double 0m

altitude coordinate of the playground origin

playgroundHeading double 0deg

heading of the playground

playgroundElevation double 0deg

elevation of the playground

playgroundBank double 0deg

bank of the playground

Properties:

Name Value Description
display i=block/table2_s

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_s");
        double playgroundLatitude @unit(deg); // latitude coordinate of the playground origin
        double playgroundLongitude @unit(deg); // longitude coordinate of the playground origin
        double playgroundAltitude @unit(m) = default(0m); // altitude coordinate of the playground origin
        double playgroundHeading @unit(deg) = default(0deg); // heading of the playground
        double playgroundElevation @unit(deg) = default(0deg); // elevation of the playground
        double playgroundBank @unit(deg) = default(0deg); // bank of the playground
}