A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
vector.h File Reference

ns3::Vector, ns3::Vector2D and ns3::Vector3D declarations. More...

#include "attribute-helper.h"
#include "attribute.h"
+ Include dependency graph for vector.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ns3::Vector2D
 a 2d vector More...
 
class  ns3::Vector2DChecker
 
class  ns3::Vector2DValue
 
class  ns3::Vector3D
 a 3d vector More...
 
class  ns3::Vector3DChecker
 
class  ns3::Vector3DValue
 

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)
 
template<typename T1 >
Ptr< const AttributeAccessorns3::MakeVector2DAccessor (T1 a1)
 
template<typename T1 , typename T2 >
Ptr< const AttributeAccessorns3::MakeVector2DAccessor (T1 a1, T2 a2)
 
Ptr< const AttributeCheckerns3::MakeVector2DChecker ()
 
template<typename T1 >
Ptr< const AttributeAccessorns3::MakeVector3DAccessor (T1 a1)
 
template<typename T1 , typename T2 >
Ptr< const AttributeAccessorns3::MakeVector3DAccessor (T1 a1, T2 a2)
 
Ptr< const AttributeCheckerns3::MakeVector3DChecker ()
 
template<typename T1 >
Ptr< const AttributeAccessorns3::MakeVectorAccessor (T1 a1)
 Create an AttributeAccessor for a class data member, or a lone class get functor or set method.
 
template<typename T1 , typename T2 >
Ptr< const AttributeAccessorns3::MakeVectorAccessor (T1 a1, T2 a2)
 Create an AttributeAccessor using a pair of get functor and set methods from a class.
 
Ptr< const AttributeCheckerns3::MakeVectorChecker ()
 
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)
 
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 declarations.

Definition in file vector.h.