34 #ifndef EMANEUTILSCONVERSIONUTILS_HEADER_ 35 #define EMANEUTILSCONVERSIONUTILS_HEADER_ 46 return sqrt((x * x) + (y * y) + (z * z));
52 return deg * (M_PIl / 180.0);
116 return 10.0 * log10(dMillWatt);
121 return pow(10.0,ddB / 10.0);
126 #endif // EMANEUTILSCONVERSIONUTILS_HEADER_ double MILLIWATT_TO_DB(double dMillWatt)
void AI_TO_BI_DEGREES(double &val, const double A, const double B)
void AI_TO_BE_DEGREES(double &val, const double A, const double B)
void NEG_90_TO_POS_90_DEGREES(double &val)
double DEGREES_TO_RADIANS(const double deg)
double NORMALIZE_VECTOR(const double x, const double y, const double z)
double DB_TO_MILLIWATT(double ddB)