|
constexpr | Vector3F () noexcept |
|
constexpr | Vector3F (const value_type v) noexcept |
|
constexpr | Vector3F (const value_type x_, const value_type y_, const value_type z_) noexcept |
|
constexpr | Vector3F (const Vec2 &o2, const value_type z_) noexcept |
|
constexpr | Vector3F (const Vector3F &o) noexcept=default |
|
constexpr | Vector3F (const_iterator v) noexcept |
|
constexpr | Vector3F (std::initializer_list< value_type > v) noexcept |
|
constexpr | Vector3F (Vector3F &&o) noexcept=default |
|
constexpr Vector3F & | add (const value_type dx, const value_type dy, const value_type dz) noexcept |
| this = this + {dx, dy, dz}, returns this. More...
|
|
constexpr_cxx26 value_type | angle (const Vector3F &o) const noexcept |
| Return the angle between to vectors in radians. More...
|
|
constexpr iterator | begin () noexcept |
|
constexpr const_iterator | cbegin () const noexcept |
|
constexpr value_type | cos_angle (const Vector3F &o) const noexcept |
| Return the cosines of the angle between to vectors. More...
|
|
constexpr Vector3F & | cross (const Vector3F &a, const Vector3F &b) noexcept |
| cross product this = a x b, with a, b different from this More...
|
|
constexpr Vector3F | cross (const Vector3F &b) const noexcept |
| cross product this x b More...
|
|
constexpr value_type | dist (const Vector3F &o) const noexcept |
| Return the distance between this vector and the given one. More...
|
|
constexpr value_type | dist_sq (const Vector3F &o) const noexcept |
| Return the squared distance between this vector and the given one. More...
|
|
constexpr value_type | dot (const Vector3F &o) const noexcept |
| Return the dot product of this vector and the given one. More...
|
|
constexpr bool | equals (const Vector3F &o, const value_type epsilon=std::numeric_limits< value_type >::epsilon()) const noexcept |
|
constexpr iterator | get (iterator xyz) const noexcept |
| xyz = this, returns xyz. More...
|
|
constexpr_cxx23 bool | intersects (const Vector3F &o) const noexcept |
|
constexpr bool | is_zero () const noexcept |
|
constexpr value_type | length () const noexcept |
| Return the length of a vector, a.k.a the norm or magnitude More...
|
|
constexpr value_type | length_sq () const noexcept |
| Return the squared length of a vector, a.k.a the squared norm or squared magnitude More...
|
|
constexpr Vector3F & | mul (const value_type sx, const value_type sy, const value_type sz) noexcept |
| this = this * {sx, sy, sz}, returns this. More...
|
|
constexpr Vector3F & | normalize () noexcept |
| Normalize this vector in place. More...
|
|
| operator const_pointer () const noexcept |
|
| operator pointer () noexcept |
|
constexpr Vector3F & | operator*= (const value_type s) noexcept |
| Scale this vector with given scale factor. More...
|
|
constexpr Vector3F & | operator+= (const Vector3F &rhs) noexcept |
| this = this + rhs, returns this. More...
|
|
constexpr Vector3F & | operator-= (const Vector3F &rhs) noexcept |
| this = this - rhs, returns this. More...
|
|
constexpr Vector3F & | operator/= (const value_type s) noexcept |
| Divide this vector with given scale factor. More...
|
|
constexpr Vector3F & | operator= (const Vector3F &) noexcept=default |
|
constexpr Vector3F & | operator= (Vector3F &&) noexcept=default |
|
constexpr bool | operator== (const Vector3F &rhs) const noexcept |
|
constexpr value_type | operator[] (size_t i) const noexcept |
| Returns read-only component. More...
|
|
constexpr reference | operator[] (size_t i) noexcept |
| Returns writeable reference to component
More...
|
|
constexpr_cxx26 Vector3F & | rotateZ (const value_type radians) noexcept |
| Rotates this vector around the Z-axis in place, returns *this. More...
|
|
constexpr Vector3F & | rotateZ (const value_type sin, const value_type cos) noexcept |
| Rotates this vector in place, returns *this. More...
|
|
constexpr Vector3F & | scale (const value_type s) noexcept |
| this = this * s, returns this. More...
|
|
constexpr Vector3F & | set (const value_type vx, const value_type vy, const value_type vz) noexcept |
|
constexpr Vector3F & | set (const Vec2f &o, const value_type z_) noexcept |
| TODO constexpr bool operator<=>(const vec3f_t& rhs ) const noexcept { return ... }. More...
|
|
constexpr Vector3F & | set (const_iterator xyz) noexcept |
| this = xyz, returns this. More...
|
|
std::string | toString () const noexcept |
|
template<typename
Value_type, std::enable_if_t< std::is_floating_point_v<
Value_type >, bool > = true>
class jau::math::Vector3F< Value_type, >
3D vector using three value_type components.
Definition at line 51 of file vec3f.hpp.