1#ifndef XXLinalgVector3H
2#define XXLinalgVector3H
30 Vector3(
const double&
x = 0.0,
const double&
y = 0.0,
const double&
z = 0.0);
43 const double&
getX()
const;
44 const double&
getY()
const;
45 const double&
getZ()
const;
#define XXMATH_DECLSPEC
Definition XXMathExportDef.h:17
Spherical coordinates, used to represent points in 3D space.
Definition XXLinalgSpherical.h:18
3D vector, used to represent points or directions in 3D space.
Definition XXLinalgVector3.h:21
double x
Definition XXLinalgVector3.h:71
const double & getZ() const
friend std::ostream & operator<<(std::ostream &out, const Vector3 &vector)
double z
Definition XXLinalgVector3.h:73
Vector3 cross(const Vector3 &other) const
friend QTextStream & operator<<(QTextStream &stream, const Vector3 &vector)
Vector3 operator+(const Vector3 &other) const
double data[3]
Definition XXLinalgVector3.h:75
static Vector3 fromSpherical(const Spherical &spherical, const bool fromDegree=true)
double dotAngle(const Vector3 &other, const bool toDegree=true) const
double crossAngle(const Vector3 &other, const bool toDegree=true) const
const double & getY() const
Spherical toSpherical(const bool toDegree=true) const
friend QDebug operator<<(QDebug stream, const Vector3 &vector)
friend QTextStream & operator>>(QTextStream &stream, Vector3 &vector)
double & operator[](const int index)
const double & getX() const
bool operator<(const Vector3 &other) const
bool operator==(const Vector3 &other) const
const double & operator[](const int index) const
Vector3 & operator+=(const Vector3 &other)
Vector3(const double &x=0.0, const double &y=0.0, const double &z=0.0)
double dot(const Vector3 &other) const
double y
Definition XXLinalgVector3.h:72
QDebug operator<<(QDebug stream, const Matrix &matrix)
QTextStream & operator>>(QTextStream &stream, Matrix &matrix)
Definition XXPopulatedAbstract.h:11