|
SpikeStream Library
0.2
|
#include <Point3D.h>
Public Member Functions | |
| Point3D () | |
| Point3D (float xPos, float yPos, float zPos) | |
| Point3D (const Point3D &point) | |
| virtual | ~Point3D () |
| Point3D & | operator= (const Point3D &point) |
| bool | operator== (const Point3D &point) const |
| bool | operator!= (const Point3D &point) const |
| float | distance (const Point3D &point) const |
| float | getXPos () const |
| float | getYPos () const |
| float | getZPos () const |
| void | setXPos (float xPos) |
| void | setYPos (float yPos) |
| void | setZPos (float zPos) |
| QString | toString () const |
| void | translate (float dx, float dy, float dz) |
| Point3D::Point3D | ( | ) |
Empty constructor, creates a point at the origin
Definition at line 13 of file Point3D.cpp.
| Point3D::Point3D | ( | float | xPos, |
| float | yPos, | ||
| float | zPos | ||
| ) |
Constructor
Definition at line 21 of file Point3D.cpp.
| Point3D::Point3D | ( | const Point3D & | point | ) |
Copy constructor
Definition at line 29 of file Point3D.cpp.
| Point3D::~Point3D | ( | ) | [virtual] |
Destructor
Definition at line 37 of file Point3D.cpp.
| float Point3D::distance | ( | const Point3D & | point | ) | const |
Returns the distance between this point and the specified point.
Definition at line 74 of file Point3D.cpp.
| float spikestream::Point3D::getXPos | ( | ) | const [inline] |
| float spikestream::Point3D::getYPos | ( | ) | const [inline] |
| float spikestream::Point3D::getZPos | ( | ) | const [inline] |
| bool Point3D::operator!= | ( | const Point3D & | point | ) | const |
Comparison non equality operator
Definition at line 66 of file Point3D.cpp.
Assignment operator
Definition at line 46 of file Point3D.cpp.
| bool Point3D::operator== | ( | const Point3D & | point | ) | const |
Comparison equality operator
Definition at line 58 of file Point3D.cpp.
| void spikestream::Point3D::setXPos | ( | float | xPos | ) | [inline] |
| void spikestream::Point3D::setYPos | ( | float | yPos | ) | [inline] |
| void spikestream::Point3D::setZPos | ( | float | zPos | ) | [inline] |
| QString Point3D::toString | ( | ) | const |
Returns a string representation of the point.
Definition at line 83 of file Point3D.cpp.
| void Point3D::translate | ( | float | dx, |
| float | dy, | ||
| float | dz | ||
| ) |
Translates the point by the specified amount
Definition at line 93 of file Point3D.cpp.