A three-coordinate vector. More...
#include <juce_Vector3D.h>
Static Public Member Functions | |
static Vector3D | xAxis () noexcept |
Returns a vector that lies along the X axis. | |
static Vector3D | yAxis () noexcept |
Returns a vector that lies along the Y axis. | |
static Vector3D | zAxis () noexcept |
Returns a vector that lies along the Z axis. | |
Public Attributes | |
Type | x |
Type | y |
Type | z |
A three-coordinate vector.
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
References Vector3D< Type >::x, Vector3D< Type >::y, and Vector3D< Type >::z.
Returns a vector that lies along the X axis.
Returns a vector that lies along the Y axis.
Returns a vector that lies along the Z axis.
|
noexcept |
References Vector3D< Type >::x, Vector3D< Type >::y, and Vector3D< Type >::z.
|
noexcept |
References Vector3D< Type >::x, Vector3D< Type >::y, and Vector3D< Type >::z.
|
noexcept |
References Vector3D< Type >::x, Vector3D< Type >::y, and Vector3D< Type >::z.
|
noexcept |
References Vector3D< Type >::x, Vector3D< Type >::y, and Vector3D< Type >::z.
|
noexcept |
References Vector3D< Type >::x, Vector3D< Type >::y, and Vector3D< Type >::z.
|
noexcept |
References Vector3D< Type >::x, Vector3D< Type >::y, and Vector3D< Type >::z.
|
noexcept |
References Vector3D< Type >::x, Vector3D< Type >::y, and Vector3D< Type >::z.
|
noexcept |
References Vector3D< Type >::x, Vector3D< Type >::y, and Vector3D< Type >::z.
|
noexcept |
References Vector3D< Type >::x, Vector3D< Type >::y, and Vector3D< Type >::z.
|
noexcept |
Returns the dot-product of these two vectors.
References Vector3D< Type >::x, Vector3D< Type >::y, and Vector3D< Type >::z.
|
noexcept |
Returns the cross-product of these two vectors.
References Vector3D< Type >::x, Vector3D< Type >::y, and Vector3D< Type >::z.
References Vector3D< Type >::lengthSquared().
Referenced by Vector3D< Type >::normalised().
References Vector3D< Type >::x, Vector3D< Type >::y, and Vector3D< Type >::z.
Referenced by Vector3D< Type >::length().
References Vector3D< Type >::length().
Returns true if the vector is practically equal to the origin.
References Vector3D< Type >::x, Vector3D< Type >::y, and Vector3D< Type >::z.
Referenced by Vector3D< Type >::lengthIsBelowEpsilon(), Vector3D< Type >::lengthSquared(), Vector3D< Type >::operator*(), Vector3D< Type >::operator*(), Vector3D< Type >::operator*=(), Vector3D< Type >::operator+(), Vector3D< Type >::operator+=(), Vector3D< Type >::operator-(), Vector3D< Type >::operator-(), Vector3D< Type >::operator-=(), Vector3D< Type >::operator/(), Vector3D< Type >::operator/=(), Vector3D< Type >::operator=(), and Vector3D< Type >::operator^().
Referenced by Vector3D< Type >::lengthIsBelowEpsilon(), Vector3D< Type >::lengthSquared(), Vector3D< Type >::operator*(), Vector3D< Type >::operator*(), Vector3D< Type >::operator*=(), Vector3D< Type >::operator+(), Vector3D< Type >::operator+=(), Vector3D< Type >::operator-(), Vector3D< Type >::operator-(), Vector3D< Type >::operator-=(), Vector3D< Type >::operator/(), Vector3D< Type >::operator/=(), Vector3D< Type >::operator=(), and Vector3D< Type >::operator^().
Referenced by Vector3D< Type >::lengthIsBelowEpsilon(), Vector3D< Type >::lengthSquared(), Vector3D< Type >::operator*(), Vector3D< Type >::operator*(), Vector3D< Type >::operator*=(), Vector3D< Type >::operator+(), Vector3D< Type >::operator+=(), Vector3D< Type >::operator-(), Vector3D< Type >::operator-(), Vector3D< Type >::operator-=(), Vector3D< Type >::operator/(), Vector3D< Type >::operator/=(), Vector3D< Type >::operator=(), and Vector3D< Type >::operator^().