A Discrete-Event Network Simulator
API
vector.cc File Reference

ns3::Vector, ns3::Vector2D and ns3::Vector3D attribute value implementations. More...

#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

double ns3::CalculateDistance (const Vector3D &a, const Vector3D &b)
 
double ns3::CalculateDistance (const Vector2D &a, const Vector2D &b)
 
Ptr< const AttributeChecker > ns3::MakeVector2DChecker (void)
 
Ptr< const AttributeChecker > ns3::MakeVector3DChecker (void)
 
Ptr< const AttributeChecker > ns3::MakeVectorChecker (void)
 
std::ostream & ns3::operator<< (std::ostream &os, const Vector3D &vector)
 Output streamer. More...
 
std::ostream & ns3::operator<< (std::ostream &os, const Vector2D &vector)
 Output streamer. More...
 
std::istream & ns3::operator>> (std::istream &is, Vector3D &vector)
 Input streamer. More...
 
std::istream & ns3::operator>> (std::istream &is, Vector2D &vector)
 Input streamer. More...
 

Detailed Description

ns3::Vector, ns3::Vector2D and ns3::Vector3D attribute value implementations.

Definition in file vector.cc.