FlatGround
Package: inet.environment.ground
FlatGround
compound moduleModels a flat ground surface with a configurable elevation. Provides methods to compute the ground projection of a 3D position by setting its z-coordinate to the elevation value, and to compute the ground normal which is always pointing upward (0,0,1) for a flat surface.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
| Name | Type | Description |
|---|---|---|
| Module | compound module |
Base module for all INET compound 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 |
| elevation | double | 0m |
Properties
| Name | Value | Description |
|---|---|---|
| class | FlatGround |
Source code
// // Models a flat ground surface with a configurable elevation. Provides methods // to compute the ground projection of a 3D position by setting its z-coordinate // to the elevation value, and to compute the ground normal which is always // pointing upward (0,0,1) for a flat surface. // module FlatGround extends Module like IGround { parameters: double elevation @unit(m) = default(0m); @class(FlatGround); }File: src/inet/environment/ground/FlatGround.ned