#include <sbg_vector3.h>
Public Member Functions | |
const T * | data (void) const |
bool | operator!= (const SbgVector3< T > &ref_vector) |
const T | operator() (size_t index) const |
bool | operator== (const SbgVector3< T > &ref_vector) |
SbgVector3 (void) | |
SbgVector3 (T x_value, T y_value, T z_value) | |
SbgVector3 (const T *p_raw_data, size_t array_size) | |
Private Attributes | |
std::array< T, 3 > | m_data |
Class to define a Vector3.
Definition at line 68 of file sbg_vector3.h.
|
inline |
Empty constructor.
Definition at line 87 of file sbg_vector3.h.
|
inline |
Constructor.
[in] | x_value | Vector X value. |
[in] | y_value | Vector Y value. |
[in] | z_value | Vector Z value. |
Definition at line 101 of file sbg_vector3.h.
|
inline |
Constructor.
[in] | p_raw_data | Pointer to data array. |
[in] | array_size | Array size (Should be defined as 3). |
Definition at line 114 of file sbg_vector3.h.
|
inline |
Get the raw data of the sbgVector.
Definition at line 172 of file sbg_vector3.h.
|
inline |
Comparison not equal operator.
[in] | ref_vector | Vector to compare. |
Definition at line 150 of file sbg_vector3.h.
|
inline |
Getter parenthesis operator
[in] | index | Index of value to retrieve. |
Definition at line 160 of file sbg_vector3.h.
|
inline |
Comparison equal operator.
[in] | ref_vector | Vector to compare. |
Definition at line 137 of file sbg_vector3.h.
|
private |
Definition at line 76 of file sbg_vector3.h.