A Discrete-Event Network Simulator
angles.h File Reference
#include <ns3/vector.h>
#include <vector>
+ Include dependency graph for angles.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  ns3::Angles
 Class holding the azimuth and inclination angles of spherical coordinates. More...


 Every class exported by the ns3 library is enclosed in the ns3 namespace.


double ns3::DegreesToRadians (double degrees)
 converts degrees to radians More...
std::vector< double > ns3::DegreesToRadians (const std::vector< double > &degrees)
 converts degrees to radians More...
double ns3::RadiansToDegrees (double radians)
 converts radians to degrees More...
std::vector< double > ns3::RadiansToDegrees (const std::vector< double > &radians)
 converts radians to degrees More...
double ns3::WrapTo180 (double a)
 Wrap angle in [-180, 180) More...
double ns3::WrapTo2Pi (double a)
 Wrap angle in [0, 2*M_PI) More...
double ns3::WrapTo360 (double a)
 Wrap angle in [0, 360) More...
double ns3::WrapToPi (double a)
 Wrap angle in [-M_PI, M_PI) More...