|
MathLib
|
#include <Vector3D.hpp>
Public Types | |
Types | |
| using | value_type = RType |
| The underlying implementation type. | |
Public Member Functions | |
| constexpr | BasicRef (RType &x_in, RType &y_in, RType &z_in) |
| constexpr | BasicRef (const BasicRef &)=default |
| constexpr | BasicRef (const BasicVector3D< RType > &other) |
| constexpr BasicRef & | operator= (BasicRef input) |
| constexpr BasicRef & | operator= (const BasicVector3D< RType > &input) |
| constexpr | operator BasicVector3D< RType > () const |
| constexpr | operator std::tuple< RType, RType, RType > () const |
Public Attributes | |
| RType & | x |
| RType & | y |
| RType & | z |
Friends | |
| template<class U > requires Concept::SameUnqualified<RType, U> | |
| constexpr bool | operator== (BasicRef left, BasicRef< U > right) |
| template<class U > requires Concept::SameUnqualified<RType, U> | |
| constexpr bool | operator== (BasicRef left, const BasicVector3D< U > &right) |
| template<class U > requires Concept::SameUnqualified<RType, U> | |
| constexpr BasicVector3D< RType > | operator+ (BasicRef left, BasicRef< U > right) |
| template<class U > requires Concept::SameUnqualified<RType, U> | |
| constexpr BasicVector3D< RType > | operator+ (BasicRef left, const BasicVector3D< U > &right) |
| template<class U > requires Concept::SameUnqualified<RType, U> | |
| constexpr BasicVector3D< RType > | operator- (BasicRef left, BasicRef< U > right) |
| template<class U > requires Concept::SameUnqualified<RType, U> | |
| constexpr BasicVector3D< RType > | operator- (BasicRef left, const BasicVector3D< U > &right) |
| template<class U > requires Concept::SameUnqualified<RType, U> | |
| constexpr BasicVector3D< RType > | operator* (BasicRef left, BasicRef< U > right) |
| template<class U > requires Concept::SameUnqualified<RType, U> | |
| constexpr BasicVector3D< RType > | operator* (BasicRef left, const BasicVector3D< U > &right) |
| template<class U > requires Concept::SameUnqualified<RType, U> | |
| constexpr BasicVector3D< RType > | operator* (BasicRef left, const U &scalar) |
| template<class U > requires Concept::SameUnqualified<RType, U> | |
| constexpr BasicVector3D< RType > | operator* (const U &scalar, BasicRef right) |
| template<class U > requires Concept::SameUnqualified<RType, U> | |
| constexpr BasicVector3D< RType > | operator/ (BasicRef left, BasicRef< U > right) |
| template<class U > requires Concept::SameUnqualified<RType, U> | |
| constexpr BasicVector3D< RType > | operator/ (BasicRef left, const BasicVector3D< U > &right) |
| template<class U > requires Concept::SameUnqualified<RType, U> | |
| constexpr BasicVector3D< RType > | operator/ (BasicRef left, const U &scalar) |
| template<class U , std::floating_point OT = float> requires Concept::SameUnqualified<RType, U> | |
| constexpr bool | approximately_equal_to (BasicRef value_to_test, BasicRef< U > value_it_should_be, OT tolerance=OT{0.0002}) |
| template<class U , std::floating_point OT = float> requires Concept::SameUnqualified<RType, U> | |
| constexpr bool | approximately_equal_to (BasicRef value_to_test, const BasicVector3D< U > &value_it_should_be, OT tolerance=OT{0.0002}) |
| constexpr RType | accumulate (BasicRef input) |
| template<class U > requires Concept::SameUnqualified<RType, U> | |
| constexpr RType | dot (BasicRef left, BasicRef< U > right) |
| template<class U > requires Concept::SameUnqualified<RType, U> | |
| constexpr RType | dot (BasicRef left, const BasicVector3D< U > &right) |
| template<class U > requires Concept::SameUnqualified<RType, U> | |
| constexpr RType | dot_normalized (BasicRef left, BasicRef< U > right) |
| template<class U > requires Concept::SameUnqualified<RType, U> | |
| constexpr RType | dot_normalized (BasicRef left, const BasicVector3D< U > &right) |
| template<class U > requires Concept::SameUnqualified<RType, U> | |
| constexpr BasicVector3D< RType > | cross (BasicRef left, BasicRef< U > right) |
| constexpr BasicVector3D< RType > | normalized (BasicRef input) |
| constexpr BasicVector3D< RType > | abs (BasicRef input) |
| constexpr BasicVector3D< RType > | fract (BasicRef input) |
| constexpr BasicVector3D< RType > | saturate (BasicRef input, RType lower_bound, RType upper_bound) |
| template<class U > requires Concept::SameUnqualified<RType, U> | |
| constexpr BasicVector3D< RType > | lerp (BasicRef input_lower_bound, BasicRef< U > input_upper_bound, float percentage_zero_to_one) |
| template<class U > requires Concept::SameUnqualified<RType, U> | |
| constexpr BasicVector3D< RType > | lerp (BasicRef input_lower_bound, const BasicVector3D< U > &input_upper_bound, float percentage_zero_to_one) |
| template<class U > requires Concept::SameUnqualified<RType, U> | |
| constexpr BasicVector3D< RType > | mix (BasicRef input_lower_bound, BasicRef< U > input_upper_bound, float percentage_zero_to_one) |
| template<class U > requires Concept::SameUnqualified<RType, U> | |
| constexpr BasicVector3D< RType > | mix (BasicRef input_lower_bound, const BasicVector3D< U > &input_upper_bound, float percentage_zero_to_one) |
| std::string | format (BasicRef input) |
| template<class U , std::floating_point OT = float> requires Concept::SameUnqualified<RType, U> | |
| bool | check_if_equal (BasicRef input, BasicRef< U > near_to, OT tolerance=OT{0.0002}) |
| template<class U , std::floating_point OT = float> requires Concept::SameUnqualified<RType, U> | |
| bool | check_if_equal (BasicRef input, const BasicVector3D< U > &near_to, OT tolerance=OT{0.0002}) |
| template<class U , std::floating_point OT = float> requires Concept::SameUnqualified<RType, U> | |
| bool | check_if_not_equal (BasicRef input, BasicRef near_to, OT tolerance=OT{0.0002}) |
| template<class U , std::floating_point OT = float> requires Concept::SameUnqualified<RType, U> | |
| bool | check_if_not_equal (BasicRef input, const BasicVector3D< U > &near_to, OT tolerance=OT{0.0002}) |
| template<class U , std::floating_point OT = float> requires Concept::SameUnqualified<RType, U> | |
| void | CHECK_IF_EQUAL (BasicRef input, BasicRef< U > near_to, OT tolerance=OT{0.0002}) |
| template<class U , std::floating_point OT = float> requires Concept::SameUnqualified<RType, U> | |
| void | CHECK_IF_EQUAL (BasicRef input, const BasicVector3D< U > &near_to, OT tolerance=OT{0.0002}) |
| template<class U , std::floating_point OT = float> requires Concept::SameUnqualified<RType, U> | |
| void | CHECK_IF_NOT_EQUAL (BasicRef input, BasicRef< U > near_to, OT tolerance=OT{0.0002}) |
| template<class U , std::floating_point OT = float> requires Concept::SameUnqualified<RType, U> | |
| void | CHECK_IF_NOT_EQUAL (BasicRef input, const BasicVector3D< U > &near_to, OT tolerance=OT{0.0002}) |
| template<std::floating_point OT = float> | |
| void | CHECK_IF_ZERO (BasicRef input, OT tolerance=OT{0.0002}) |
Class representing a reference to elements of a BasicVector3D object
Definition at line 40 of file Vector3D.hpp.