#include <vecmath.h>
Public Member Functions | |
| Vector4 () | |
| Vector4 (const Vector4 &v) | |
| Vector4 (double _x, double _y, double _z, double _w) | |
| Vector4 & | operator= (const Vector4 &a) |
| const double & | operator[] (int n) const |
| double & | operator[] (int n) |
| Vector4 & | operator+= (const Vector4 &a) |
| Vector4 & | operator-= (const Vector4 &a) |
| Vector4 & | operator *= (double s) |
| Vector4 | operator- () |
| Vector4 | operator+ () |
| Vector4 | operator+ (const Vector4 &v) const |
| Vector4 | operator- (const Vector4 &v) const |
| Vector4 | operator/ (const double s) const |
| Vector4 | operator * (const double s) const |
| double | operator * (const Vector4 &v) const |
| double | length () const |
| double | lengthSquared () const |
| void | normalize () |
| bool | operator== (const Vector4 &v) const |
| bool | operator!= (const Vector4 &v) const |
| bool | approxEqual (const Vector4 &v, double eps=1e-12) const |
| void | print () const |
Private Attributes | |
| double | x |
| double | y |
| double | z |
| double | w |
Definition at line 592 of file vecmath.h.
| EMAN::Vector4::Vector4 | ( | ) | [inline] |
Definition at line 594 of file vecmath.h.
Referenced by operator *(), operator+(), operator-(), and operator/().
| EMAN::Vector4::Vector4 | ( | const Vector4 & | v | ) | [inline] |
| EMAN::Vector4::Vector4 | ( | double | _x, | |
| double | _y, | |||
| double | _z, | |||
| double | _w | |||
| ) | [inline] |
| bool EMAN::Vector4::approxEqual | ( | const Vector4 & | v, | |
| double | eps = 1e-12 | |||
| ) | const [inline] |
| double EMAN::Vector4::length | ( | ) | const [inline] |
| double EMAN::Vector4::lengthSquared | ( | ) | const [inline] |
| void EMAN::Vector4::normalize | ( | ) | [inline] |
| double EMAN::Vector4::operator * | ( | const Vector4 & | v | ) | const [inline] |
| Vector4 EMAN::Vector4::operator * | ( | const double | s | ) | const [inline] |
| Vector4& EMAN::Vector4::operator *= | ( | double | s | ) | [inline] |
| bool EMAN::Vector4::operator!= | ( | const Vector4 & | v | ) | const [inline] |
| Vector4 EMAN::Vector4::operator+ | ( | ) | [inline] |
| Vector4 EMAN::Vector4::operator- | ( | ) | [inline] |
| Vector4 EMAN::Vector4::operator/ | ( | const double | s | ) | const [inline] |
| bool EMAN::Vector4::operator== | ( | const Vector4 & | v | ) | const [inline] |
| double& EMAN::Vector4::operator[] | ( | int | n | ) | [inline] |
| const double& EMAN::Vector4::operator[] | ( | int | n | ) | const [inline] |
| void EMAN::Vector4::print | ( | ) | const [inline] |
double EMAN::Vector4::w [private] |
Definition at line 681 of file vecmath.h.
Referenced by approxEqual(), length(), lengthSquared(), normalize(), operator *(), operator *=(), operator!=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator=(), operator==(), and print().
double EMAN::Vector4::x [private] |
Definition at line 681 of file vecmath.h.
Referenced by approxEqual(), length(), lengthSquared(), normalize(), operator *(), operator *=(), operator!=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator=(), operator==(), and print().
double EMAN::Vector4::y [private] |
Definition at line 681 of file vecmath.h.
Referenced by approxEqual(), length(), lengthSquared(), normalize(), operator *(), operator *=(), operator!=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator=(), operator==(), and print().
double EMAN::Vector4::z [private] |
Definition at line 681 of file vecmath.h.
Referenced by approxEqual(), length(), lengthSquared(), normalize(), operator *(), operator *=(), operator!=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator=(), operator==(), and print().
1.4.7