A Discrete-Event Network Simulator
API
Namespaces | Functions
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 <tuple>

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)
 
More...
 
Ptr< const AttributeChecker > ns3::MakeVector3DChecker (void)
 
More...
 
Ptr< const AttributeChecker > ns3::MakeVectorChecker (void)
 
Vector3D ns3::operator+ (const Vector3D &a, const Vector3D &b)
 
Vector2D ns3::operator+ (const Vector2D &a, const Vector2D &b)
 
Vector3D ns3::operator- (const Vector3D &a, const Vector3D &b)
 
Vector2D ns3::operator- (const Vector2D &a, const Vector2D &b)
 
bool ns3::operator< (const Vector3D &a, const Vector3D &b)
 
bool ns3::operator< (const Vector2D &a, const Vector2D &b)
 
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)
 

Detailed Description

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

Definition in file vector.cc.