A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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

namespace  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 ()
 
Ptr< const AttributeChecker > ns3::MakeVector3DChecker ()
 
Ptr< const AttributeChecker > ns3::MakeVectorChecker ()
 
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.