82   return std::sqrt (
x * 
x + 
y * 
y + 
z * 
z);
 
   88   return std::sqrt (
x * 
x + 
y * 
y);
 
   95   return (b - a).GetLength ();
 
  101   return (b - a).GetLength ();
 
  106   os << vector.
x << 
":" << vector.
y << 
":" << vector.
z;
 
  112   is >> vector.
x >> c1 >> vector.
y >> c2 >> vector.
z;
 
  116       is.setstate (std::ios_base::failbit);
 
  122   return std::tie (a.
x, a.
y, a.
z) <
 
  123          std::tie (b.
x, b.
y, b.
z);
 
  137   os << vector.
x << 
":" << vector.
y;
 
  143   is >> vector.
x >> c1 >> vector.
y;
 
  146       is.setstate (std::ios_base::failbit);
 
  152   return std::tie (a.
x, a.
y) <
 
NS_FATAL_x macro definitions. 
 
std::istream & operator>>(std::istream &is, Angles &a)
initialize a struct Angles from input 
 
double x
x coordinate of vector 
 
Smart pointer class similar to boost::intrusive_ptr. 
 
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by "...
 
int64x64_t operator+(const int64x64_t &lhs)
Unary plus operator. 
 
Ptr< const AttributeChecker > MakeVectorChecker(void)
 
#define ATTRIBUTE_HELPER_CPP(type)
Define the attribute value, accessor and checkers for class type. 
 
int64x64_t operator-(const int64x64_t &lhs)
Unary negation operator (change sign operator). 
 
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name. 
 
Ptr< const AttributeChecker > MakeVector3DChecker(void)
 
#define NS_LOG_FUNCTION_NOARGS()
Output the name of the function. 
 
double GetLength() const 
Compute the length (magnitude) of the vector. 
 
bool operator<(const EventId &a, const EventId &b)
 
double x
x coordinate of vector 
 
Vector2D()
Constructor: (0.0, 0.0) 
 
double y
y coordinate of vector 
 
double CalculateDistance(const Vector3D &a, const Vector3D &b)
 
Vector3D()
Create vector (0.0, 0.0, 0.0) 
 
std::ostream & operator<<(std::ostream &os, const Angles &a)
print a struct Angles to output 
 
double GetLength() const 
Compute the length (magnitude) of the vector. 
 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
 
double y
y coordinate of vector 
 
ns3::Vector, ns3::Vector2D and ns3::Vector3D declarations. 
 
double z
z coordinate of vector