A three-coordinate vector.
Public Member Functions | |
| Vector3D () noexcept | |
| Vector3D (Type xValue, Type yValue, Type zValue) noexcept | |
| Vector3D (const Vector3D &other) noexcept | |
| Vector3D & | operator= (Vector3D other) noexcept |
| Vector3D & | operator+= (Vector3D other) noexcept |
| Vector3D & | operator-= (Vector3D other) noexcept |
| Vector3D & | operator*= (Type scaleFactor) noexcept |
| Vector3D & | operator/= (Type scaleFactor) noexcept |
| Vector3D | operator+ (Vector3D other) const noexcept |
| Vector3D | operator- (Vector3D other) const noexcept |
| Vector3D | operator* (Type scaleFactor) const noexcept |
| Vector3D | operator/ (Type scaleFactor) const noexcept |
| Vector3D | operator- () const noexcept |
| Type | operator* (Vector3D other) const noexcept |
| Returns the dot-product of these two vectors. | |
| Vector3D | operator^ (Vector3D other) const noexcept |
| Returns the cross-product of these two vectors. | |
| Type | length () const noexcept |
| Type | lengthSquared () const noexcept |
| Vector3D | normalised () const noexcept |
| bool | lengthIsBelowEpsilon () const noexcept |
| Returns true if the vector is practically equal to the origin. | |
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 |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinestaticnoexcept |
Returns a vector that lies along the X axis.
|
inlinestaticnoexcept |
Returns a vector that lies along the Y axis.
|
inlinestaticnoexcept |
Returns a vector that lies along the Z axis.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Returns the dot-product of these two vectors.
|
inlinenoexcept |
Returns the cross-product of these two vectors.
|
inlinenoexcept |
Referenced by juce::Vector3D< float >::normalised().
|
inlinenoexcept |
Referenced by juce::Vector3D< float >::length().
|
inlinenoexcept |
|
inlinenoexcept |
Returns true if the vector is practically equal to the origin.
| Type juce::Vector3D< Type >::x |
| Type juce::Vector3D< Type >::y |
| Type juce::Vector3D< Type >::z |