NMPB08 Shared Libraries
|
Definition of main constants and structures used in the library. More...
Go to the source code of this file.
Classes | |
struct | ProfilePointNMPB |
Profile point Structure. More... | |
struct | PropagationPath |
Structure for the propagation path. More... | |
Defines | |
#define | ProfilePointNMPB _Local_PROPAN8_ProfilePointNMPB_ |
#define | PropagationPath _Local_PROPAN8_PropagationPath_ |
#define | NULE 0 |
#define | cSound ((double) 340) |
sound speed in the air | |
#define | PI ((double) 3.14159265358979323) |
used value for Pi | |
Functions | |
double | distance2D (Position2D const *position1, Position2D const *position2) |
Computes the distance between 2 2D points. | |
double | distance3D (Position3D const *position1, Position3D const *position2) |
Computes the distance between 2 3D points. | |
double | GroundDistance (Position3D const *position1, Position3D const *position2) |
Computes the ground distance between 2 positions (ie distance with x and y, but not z) | |
void | FillPlanePosition (ProfilePointNMPB *terrain, ProfilePointNMPB const *source, double cumDistance) |
Fills the TerrainItem Position2D. |
Definition of main constants and structures used in the library.
Definition in file PathStructures.h.
#define cSound ((double) 340) |
sound speed in the air
Definition at line 31 of file PathStructures.h.
#define NULE 0 |
Definition at line 26 of file PathStructures.h.
#define PI ((double) 3.14159265358979323) |
used value for Pi
Definition at line 35 of file PathStructures.h.
#define ProfilePointNMPB _Local_PROPAN8_ProfilePointNMPB_ |
Definition at line 22 of file PathStructures.h.
#define PropagationPath _Local_PROPAN8_PropagationPath_ |
Definition at line 23 of file PathStructures.h.
double distance2D | ( | Position2D const * | position1, |
Position2D const * | position2 | ||
) |
Computes the distance between 2 2D points.
position1 | The first point coordinates |
position2 | The second point coordinates |
Definition at line 20 of file PathStructures.cpp.
double distance3D | ( | Position3D const * | position1, |
Position3D const * | position2 | ||
) |
Computes the distance between 2 3D points.
position1 | The first point coordinates |
position2 | The second point coordinates |
Definition at line 34 of file PathStructures.cpp.
void FillPlanePosition | ( | ProfilePointNMPB * | terrain, |
ProfilePointNMPB const * | source, | ||
double | cumDistance | ||
) |
Fills the TerrainItem Position2D.
terrain | The terrain item |
source | The source |
cumDistance | The cumulated ground distance |
Definition at line 62 of file PathStructures.cpp.
double GroundDistance | ( | Position3D const * | position1, |
Position3D const * | position2 | ||
) |
Computes the ground distance between 2 positions (ie distance with x and y, but not z)
position1 | The first point coordinates |
position2 | The second point coordinates |
Definition at line 48 of file PathStructures.cpp.