Template Class SbgVector3
Defined in File sbg_vector3.h
Class Documentation
-
template<class T>
class SbgVector3 Class to define a Vector3.
Public Functions
-
inline SbgVector3()
Empty constructor.
-
inline SbgVector3(T x_value, T y_value, T z_value)
Constructor.
- Parameters:
x_value – [in] Vector X value.
y_value – [in] Vector Y value.
z_value – [in] Vector Z value.
-
inline SbgVector3(const T *p_raw_data, size_t array_size)
Constructor.
- Parameters:
p_raw_data – [in] Pointer to data array.
array_size – [in] Array size (Should be defined as 3).
-
inline bool operator==(const SbgVector3<T> &ref_vector)
Comparison equal operator.
- Parameters:
ref_vector – [in] Vector to compare.
- Returns:
True if the vector are equals.
-
inline bool operator!=(const SbgVector3<T> &ref_vector)
Comparison not equal operator.
- Parameters:
ref_vector – [in] Vector to compare.
- Returns:
True if the vector are equals.
-
inline SbgVector3()