#include <point.h>
mcl::Triplet::Triplet |
( |
| ) |
|
|
noexcept |
Constructs a Point
with all coordinates set to zero.
Constructor with explicit definition of all coordinates.
bool mcl::Triplet::Equals |
( |
const Triplet & |
other_point | ) |
const |
|
noexcept |
Real mcl::Triplet::norm |
( |
| ) |
const |
|
noexcept |
Returns the norm of the vector, or, in other words, the distance of the point from the origin (0,0,0)
void mcl::Triplet::Normalize |
( |
| ) |
|
|
noexcept |
Modifies the point (i.e. vector) such that its norm is equal to 1.
Real mcl::Triplet::phi |
( |
| ) |
const |
|
noexcept |
Returns the angle formed between the projection on the x-y axis and the x-axis
void mcl::Triplet::SetX |
( |
const Real |
value | ) |
|
|
inlinenoexcept |
void mcl::Triplet::SetY |
( |
const Real |
value | ) |
|
|
inlinenoexcept |
void mcl::Triplet::SetZ |
( |
const Real |
value | ) |
|
|
inlinenoexcept |
Real mcl::Triplet::theta |
( |
| ) |
const |
|
noexcept |
Returns the angle formed with the z-axis
Real mcl::Triplet::x |
( |
| ) |
const |
|
inlinenoexcept |
Real mcl::Triplet::y |
( |
| ) |
const |
|
inlinenoexcept |
Real mcl::Triplet::z |
( |
| ) |
const |
|
inlinenoexcept |
The documentation for this class was generated from the following files: