ns-3
ns3::Vector2D Class Reference

a 3d vector More...

#include <vector.h>

List of all members.

Public Member Functions

 Vector2D (double _x, double _y)
 Vector2D ()

Public Attributes

double x
double y

Detailed Description

a 3d vector


Constructor & Destructor Documentation

ns3::Vector2D::Vector2D ( double  _x,
double  _y 
)
Parameters:
_xx coordinate of vector
_yy coordinate of vector

Create vector (_x, _y)

Create vector vector (0.0, 0.0)


Member Data Documentation

x coordinate of vector

Referenced by ns3::CalculateDistance().

y coordinate of vector

Referenced by ns3::CalculateDistance().


The documentation for this class was generated from the following files: