A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vector.cc File Reference
#include "vector.h"
#include "fatal-error.h"
#include "log.h"
#include <cmath>
#include <sstream>
+ Include dependency graph for vector.cc:

Go to the source code of this file.

Namespaces

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

Functions

 ns3::ATTRIBUTE_HELPER_CPP (Vector3D)
 
 ns3::ATTRIBUTE_HELPER_CPP (Vector2D)
 
double ns3::CalculateDistance (const Vector3D &a, const Vector3D &b)
 
double ns3::CalculateDistance (const Vector2D &a, const Vector2D &b)
 
Ptr< const AttributeChecker > ns3::MakeVectorChecker (void)
 
 NS_LOG_COMPONENT_DEFINE ("Vector")
 
std::ostream & ns3::operator<< (std::ostream &os, const Vector3D &vector)
 
std::ostream & ns3::operator<< (std::ostream &os, const Vector2D &vector)
 
std::istream & ns3::operator>> (std::istream &is, Vector3D &vector)
 
std::istream & ns3::operator>> (std::istream &is, Vector2D &vector)
 

Function Documentation

NS_LOG_COMPONENT_DEFINE ( "Vector"  )