27 std::array<double, 3>
data;
33 const double&
x()
const;
39 const double&
y()
const;
45 const double&
z()
const;
Control the import and export of Windows DLL symbols.
Vector of length 3.
Definition Vector3.hpp:25
double & x()
First component of the vector.
double & operator[](std::size_t idx)
Indexing the Matrix.
Vector3 operator+(const Vector3 &other) const
Vector addition.
Vector3 operator/(const double &other) const
Vector-Scalar division.
const double & y() const
Second component of the vector.
double abs() const
Get the length of the vector.
Vector3 & operator/=(const double &other)
Vector-Scalar division.
Vector3 & operator+=(const Vector3 &other)
Vector addition.
Vector3 & operator*=(const double &other)
Vector-Scalar multiplication.
Vector3 operator-(const Vector3 &other) const
Vector subtraction.
const double & z() const
Third component of the vector.
const double & x() const
First component of the vector.
double & y()
Second component of the vector.
const double & operator[](std::size_t idx) const
Indexing the Matrix.
Vector3 operator*(const double &other) const
Vector-Scalar multiplication.
double & z()
Third component of the vector.
Vector3 & operator-=(const Vector3 &other)
Vector subtraction.
std::array< double, 3 > data
Data structure of the Vector 3.
Definition Vector3.hpp:27