ns2 Network Simulator C++ Class Hierarchy of version ns-snapshot-20040722 | |
| Home | Source Code | Manual | FAQ | Mailing List Archive | Search | | | Download | |
#include <math.h>
#include <trace.h>
#include "object.h"
Compounds | |
struct | coordinate |
class | SatGeometry |
Defines | |
#define | PI 3.1415926535897 |
#define | MU 398601.2 |
#define | LIGHT 299793 |
#define | EARTH_PERIOD 86164 |
#define | EARTH_RADIUS 6378 |
#define | GEO_ALTITUDE 35786 |
#define | ATMOS_MARGIN 150 |
#define | DEG_TO_RAD(x) ((x) * PI/180) |
#define | RAD_TO_DEG(x) ((x) * 180/PI) |
#define | DISTANCE(s_x, s_y, s_z, e_x, e_y, e_z) |
|
|
|
|
|
Value: (sqrt((s_x - e_x) * (s_x - e_x) \ + (s_y - e_y) * (s_y - e_y) + (s_z - e_z) * (s_z - e_z))) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|