a 2d vector More...
#include "vector.h"
Public Member Functions | |
| Vector2D (double _x, double _y) | |
| Vector2D () | |
| Create vector vector (0.0, 0.0)  More... | |
Public Attributes | |
| double | x | 
| x coordinate of vector  More... | |
| double | y | 
| y coordinate of vector  More... | |
Friends | |
| double | CalculateDistance (const Vector2D &a, const Vector2D &b) | 
| std::ostream & | operator<< (std::ostream &os, const Vector2D &vector) | 
| Output streamer.  More... | |
| std::istream & | operator>> (std::istream &is, Vector2D &vector) | 
| Input streamer.  More... | |
| ns3::Vector2D::Vector2D | ( | double | _x, | 
| double | _y | ||
| ) | 
| [in] | _x | X coordinate of vector | 
| [in] | _y | Y coordinate of vector | 
Create vector (_x, _y)
Definition at line 63 of file vector.cc.
References NS_LOG_FUNCTION.
| ns3::Vector2D::Vector2D | ( | ) | 
Create vector vector (0.0, 0.0)
Definition at line 70 of file vector.cc.
References NS_LOG_FUNCTION.
      
  | 
  friend | 
      
  | 
  friend | 
| double ns3::Vector2D::x | 
x coordinate of vector
Definition at line 92 of file vector.h.
Referenced by ns3::CalculateDistance(), visualizer.svgitem.SvgItem::do_get_property(), visualizer.svgitem.SvgItem::do_set_property(), visualizer.svgitem.SvgItem::do_simple_is_item_at(), visualizer.svgitem.SvgItem::do_simple_paint(), ns3::operator<<(), and ns3::operator>>().
| double ns3::Vector2D::y | 
y coordinate of vector
Definition at line 96 of file vector.h.
Referenced by ns3::CalculateDistance(), visualizer.svgitem.SvgItem::do_get_property(), visualizer.svgitem.SvgItem::do_set_property(), visualizer.svgitem.SvgItem::do_simple_is_item_at(), visualizer.svgitem.SvgItem::do_simple_paint(), ns3::operator<<(), and ns3::operator>>().