a 3d vector More...
#include "vector.h"
Public Member Functions | |
Vector3D (double _x, double _y, double _z) | |
Vector3D () | |
Create vector (0.0, 0.0, 0.0) More... | |
Public Attributes | |
double | x |
x coordinate of vector More... | |
double | y |
y coordinate of vector More... | |
double | z |
z coordinate of vector More... | |
Friends | |
double | CalculateDistance (const Vector3D &a, const Vector3D &b) |
std::ostream & | operator<< (std::ostream &os, const Vector3D &vector) |
Output streamer. More... | |
std::istream & | operator>> (std::istream &is, Vector3D &vector) |
Input streamer. More... | |
Related Functions | |
(Note that these are not member functions.) | |
typedef Vector3D | Vector |
ns3::Vector3D::Vector3D | ( | double | _x, |
double | _y, | ||
double | _z | ||
) |
[in] | _x | X coordinate of vector |
[in] | _y | Y coordinate of vector |
[in] | _z | Z coordinate of vector |
Create vector (_x, _y, _z)
Definition at line 47 of file vector.cc.
References NS_LOG_FUNCTION.
ns3::Vector3D::Vector3D | ( | ) |
|
friend |
|
friend |
double ns3::Vector3D::x |
x coordinate of vector
Definition at line 56 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<<(), ns3::operator>>(), and showPosition().
double ns3::Vector3D::y |
y coordinate of vector
Definition at line 60 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<<(), ns3::operator>>(), and showPosition().
double ns3::Vector3D::z |
z coordinate of vector
Definition at line 64 of file vector.h.
Referenced by ns3::CalculateDistance(), ns3::operator<<(), ns3::operator>>(), and showPosition().