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 <tuple>
+ 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 Vector2D &a, const Vector2D &b)
 
double ns3::CalculateDistance (const Vector3D &a, const Vector3D &b)
 
double ns3::CalculateDistanceSquared (const Vector2D &a, const Vector2D &b)
 
double ns3::CalculateDistanceSquared (const Vector3D &a, const Vector3D &b)
 
Ptr< const AttributeChecker > ns3::MakeVector2DChecker (void)
 
Ptr< const AttributeChecker > ns3::MakeVector3DChecker (void)
 
Ptr< const AttributeChecker > ns3::MakeVectorChecker (void)
 
bool ns3::operator!= (const Vector2D &a, const Vector2D &b)
 
bool 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)
 
Vector3D ns3::operator- (const Vector3D &a, const Vector3D &b)
 
bool ns3::operator< (const Vector2D &a, const Vector2D &b)
 
bool ns3::operator< (const Vector3D &a, const Vector3D &b)
 
std::ostream & ns3::operator<< (std::ostream &os, const Vector2D &vector)
 
std::ostream & ns3::operator<< (std::ostream &os, const Vector3D &vector)
 
bool 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)
 
bool ns3::operator== (const Vector3D &a, const Vector3D &b)
 
bool 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)
 
bool ns3::operator>= (const Vector3D &a, const Vector3D &b)
 
std::istream & ns3::operator>> (std::istream &is, Vector2D &vector)
 
std::istream & ns3::operator>> (std::istream &is, Vector3D &vector)
 

Detailed Description

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

Definition in file vector.cc.