SimpleGeographicCoordinateSystem

Package: inet.common.geometry.common

SimpleGeographicCoordinateSystem

simple module

C++ definition

Provides a very simple and less accurate geographic coordinate system without using OSG. It doesn't support orientation.

Inheritance diagram

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

Used in

Name Type Description
OpenStreetMapExample network (no description)

Extends

Name Type Description
SimpleModule simple module

Base module for all INET simple modules.

Parameters

Name Type Default value Description
displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

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

Properties

Name Value Description
class SimpleGeographicCoordinateSystem
display i=block/table2

Source code

//
// Provides a very simple and less accurate geographic coordinate
// system without using OSG. It doesn't support orientation.
//
simple SimpleGeographicCoordinateSystem extends SimpleModule like IGeographicCoordinateSystem
{
    parameters:
        @class(SimpleGeographicCoordinateSystem);
        @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
}

File: src/inet/common/geometry/common/GeographicCoordinateSystem.ned