|
double | x |
|
double | y |
|
double | z |
|
◆ Vector3d() [1/3]
TBTK::Vector3d::Vector3d |
( |
| ) |
|
◆ Vector3d() [2/3]
TBTK::Vector3d::Vector3d |
( |
std::initializer_list< double > |
components | ) |
|
◆ Vector3d() [3/3]
TBTK::Vector3d::Vector3d |
( |
const std::vector< double > & |
components | ) |
|
◆ dotProduct()
double TBTK::Vector3d::dotProduct |
( |
const Vector3d & |
lhs, |
|
|
const Vector3d & |
rhs |
|
) |
| |
|
inlinestatic |
◆ getStdVector()
const std::vector< double > TBTK::Vector3d::getStdVector |
( |
| ) |
const |
|
inline |
Get a std::vector<double> representation of the vector.
◆ norm()
double TBTK::Vector3d::norm |
( |
| ) |
const |
|
inline |
◆ operator*() [1/2]
Multiplication operator (cross product).
◆ operator*() [2/2]
const Vector3d TBTK::Vector3d::operator* |
( |
double |
rhs | ) |
const |
|
inline |
Multiplication operator (vector*scalar).
◆ operator+()
◆ operator-() [1/2]
const Vector3d TBTK::Vector3d::operator- |
( |
| ) |
const |
|
inline |
◆ operator-() [2/2]
◆ operator/()
const Vector3d TBTK::Vector3d::operator/ |
( |
double |
rhs | ) |
const |
|
inline |
◆ parallel()
Returns a vector that is the component of the vector that is parallel to the argument.
◆ perpendicular()
Returns a vector tha is the component of the vector that is perpendicular to the argument.
◆ unit()
const Vector3d TBTK::Vector3d::unit |
( |
| ) |
const |
|
inline |
Returns a unit vector pointing in the same direction as the original vector.
◆ operator*
Multiplication operator (scalar*vector).
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
stream, |
|
|
const Vector3d & |
v |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file: