The Vector3 class represents the generic vector containing 3 elements. More...
#include <ignition/math/Vector3.hh>
Public Member Functions | |
Vector3 () | |
Constructor. | |
Vector3 (const T &_x, const T &_y, const T &_z) | |
Constructor. | |
Vector3 (const Vector3< T > &_v) | |
Copy constructor. | |
virtual | ~Vector3 () |
Destructor. | |
Vector3 | Abs () const |
Get the absolute value of the vector. | |
T | AbsDot (const Vector3< T > &_v) const |
Return the absolute dot product of this vector and another vector. | |
void | Correct () |
Corrects any nan values. | |
Vector3 | Cross (const Vector3< T > &_v) const |
Return the cross product of this vector with another vector. | |
T | Distance (const Vector3< T > &_pt) const |
Calc distance to the given point. | |
T | Distance (T _x, T _y, T _z) const |
Calc distance to the given point. | |
T | DistToLine (const Vector3< T > &_pt1, const Vector3 &_pt2) |
Get distance to a line. | |
T | Dot (const Vector3< T > &_v) const |
Return the dot product of this vector and another vector. | |
bool | Equal (const Vector3 &_v, const T &_tol) const |
Equality test with tolerance. | |
bool | Equal (const Vector3< T > &_v) const |
Equality test. | |
bool | IsFinite () const |
See if a point is finite (e.g., not nan) | |
T | Length () const |
Returns the length (magnitude) of the vector. | |
T | Max () const |
Get the maximum value in the vector. | |
void | Max (const Vector3< T > &_v) |
Set this vector's components to the maximum of itself and the passed in vector. | |
T | Min () const |
Get the minimum value in the vector. | |
void | Min (const Vector3< T > &_v) |
Set this vector's components to the minimum of itself and the passed in vector. | |
Vector3 | Normalize () |
Normalize the vector length. | |
Vector3 | Normalized () const |
Return a normalized vector. | |
bool | operator!= (const Vector3< T > &_v) const |
Not equal to operator. | |
Vector3< T > | operator* (const Vector3< T > &_p) const |
Multiplication operator. | |
Vector3< T > | operator* (T _s) const |
Multiplication operators. | |
const Vector3< T > & | operator*= (const Vector3< T > &_v) |
Multiplication assignment operators. | |
const Vector3< T > & | operator*= (T _v) |
Multiplication operator. | |
Vector3< T > | operator+ (const T _s) const |
Addition operators. | |
Vector3 | operator+ (const Vector3< T > &_v) const |
Addition operator. | |
const Vector3< T > & | operator+= (const T _s) |
Addition assignment operator. | |
const Vector3 & | operator+= (const Vector3< T > &_v) |
Addition assignment operator. | |
Vector3 | operator- () const |
Negation operator. | |
Vector3< T > | operator- (const T _s) const |
Subtraction operators. | |
Vector3< T > | operator- (const Vector3< T > &_pt) const |
Subtraction operators. | |
const Vector3< T > & | operator-= (const T _s) |
Subtraction assignment operator. | |
const Vector3< T > & | operator-= (const Vector3< T > &_pt) |
Subtraction assignment operators. | |
const Vector3< T > | operator/ (const Vector3< T > &_pt) const |
Division operator. | |
const Vector3< T > | operator/ (T _v) const |
Division operator. | |
const Vector3< T > & | operator/= (const Vector3< T > &_pt) |
Division assignment operator. | |
const Vector3< T > & | operator/= (T _v) |
Division assignment operator. | |
bool | operator< (const Vector3< T > &_pt) const |
Less than operator. | |
Vector3 & | operator= (const Vector3< T > &_v) |
Assignment operator. | |
Vector3 & | operator= (T _v) |
Assignment operator. | |
bool | operator== (const Vector3< T > &_v) const |
Equal to operator. | |
T & | operator[] (const std::size_t _index) |
Array subscript operator. | |
T | operator[] (const std::size_t _index) const |
Const-qualified array subscript operator. | |
Vector3 | Perpendicular () const |
Return a vector that is perpendicular to this one. | |
Vector3 | Round () |
Round to near whole number, return the result. | |
void | Round (int _precision) |
Round all values to _precision decimal places. | |
Vector3 | Rounded () const |
Get a rounded version of this vector. | |
void | Set (T _x=0, T _y=0, T _z=0) |
Set the contents of the vector. | |
T | SquaredLength () const |
Return the square of the length (magnitude) of the vector. | |
T | Sum () const |
Return the sum of the values. | |
T & | X () |
Get a mutable reference to the x value. | |
T | X () const |
Get the x value. | |
void | X (const T &_v) |
Set the x value. | |
T & | Y () |
Get a mutable reference to the y value. | |
T | Y () const |
Get the y value. | |
void | Y (const T &_v) |
Set the y value. | |
T & | Z () |
Get a mutable reference to the z value. | |
T | Z () const |
Get the z value. | |
void | Z (const T &_v) |
Set the z value. | |
Static Public Member Functions | |
static Vector3 | Normal (const Vector3< T > &_v1, const Vector3< T > &_v2, const Vector3< T > &_v3) |
Get a normal vector to a triangle. | |
Static Public Attributes | |
static const Vector3 | One |
math::Vector3(1, 1, 1) | |
static const Vector3 | UnitX |
math::Vector3(1, 0, 0) | |
static const Vector3 | UnitY |
math::Vector3(0, 1, 0) | |
static const Vector3 | UnitZ |
math::Vector3(0, 0, 1) | |
static const Vector3 | Zero |
math::Vector3(0, 0, 0) | |
The Vector3 class represents the generic vector containing 3 elements.
Since it's commonly used to keep coordinate system related information, its elements are labeled by x, y, z.
|
inline |
Constructor.
Referenced by ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Abs(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Cross(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Distance(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::operator*(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::operator*(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::operator+(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::operator+(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::operator-(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::operator-(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::operator-(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::operator/(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::operator/(), and ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Perpendicular().
|
inline |
Constructor.
[in] | _x | value along x |
[in] | _y | value along y |
[in] | _z | value along z |
|
inline |
Copy constructor.
[in] | _v | a vector |
|
inlinevirtual |
Destructor.
|
inline |
Get the absolute value of the vector.
References ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Vector3().
Referenced by ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::From2Axes(), and ignition::math::IGNITION_MATH_VERSION_NAMESPACE::OrientedBox< T >::Size().
|
inline |
Return the absolute dot product of this vector and another vector.
This is similar to the Dot function, except the absolute value of each component of the vector is used.
result = abs(x1 * x2) + abs(y1 * y2) + abs(z1 *z2)
[in] | _v | the vector |
|
inline |
Corrects any nan values.
|
inline |
Return the cross product of this vector with another vector.
[in] | _v | a vector |
References ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Vector3().
Referenced by ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::DistToLine(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix3< T >::From2Axes(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::From2Axes(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix4< T >::LookAt(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Normal(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::operator*(), and ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Perpendicular().
|
inline |
Calc distance to the given point.
[in] | _pt | the point |
Referenced by ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Distance().
|
inline |
Calc distance to the given point.
[in] | _x | value along x |
[in] | _y | value along y |
[in] | _z | value along z |
References ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Vector3(), and ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Distance().
|
inline |
Get distance to a line.
[in] | _pt1 | first point on the line |
[in] | _pt2 | second point on the line |
References ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Cross(), and ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Length().
|
inline |
Return the dot product of this vector and another vector.
[in] | _v | the vector |
Referenced by ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Triangle3< T >::Contains(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Line3< T >::Distance(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Plane< T >::Distance(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix3< T >::From2Axes(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::From2Axes(), and ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Triangle3< T >::Intersects().
|
inline |
Equality test with tolerance.
[in] | _v | the vector to compare to |
[in] | _tol | equality tolerance. |
References ignition::math::IGNITION_MATH_VERSION_NAMESPACE::equal().
Referenced by ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::operator==(), and ignition::math::IGNITION_MATH_VERSION_NAMESPACE::MassMatrix3< T >::PrincipalAxesOffset().
|
inline |
Equality test.
[in] | _v | the other vector |
References ignition::math::IGNITION_MATH_VERSION_NAMESPACE::equal().
|
inline |
See if a point is finite (e.g., not nan)
|
inline |
Returns the length (magnitude) of the vector.
References ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::SquaredLength().
Referenced by ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::DistToLine(), and ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Normalize().
|
inline |
Get the maximum value in the vector.
|
inline |
Set this vector's components to the maximum of itself and the passed in vector.
[in] | _v | the maximum clamping vector |
|
inline |
Get the minimum value in the vector.
|
inline |
Set this vector's components to the minimum of itself and the passed in vector.
[in] | _v | the minimum clamping vector |
Referenced by ignition::math::IGNITION_MATH_VERSION_NAMESPACE::MassMatrix3< T >::SetFromBox(), and ignition::math::IGNITION_MATH_VERSION_NAMESPACE::MassMatrix3< T >::SetFromBox().
|
inlinestatic |
Get a normal vector to a triangle.
[in] | _v1 | first vertex of the triangle |
[in] | _v2 | second vertex |
[in] | _v3 | third vertex |
References ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Cross(), and ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Normalize().
Referenced by ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Triangle3< T >::Normal().
|
inline |
Normalize the vector length.
References ignition::math::IGNITION_MATH_VERSION_NAMESPACE::equal(), and ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Length().
Referenced by ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix3< T >::From2Axes(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::From2Axes(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix4< T >::LookAt(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Normal(), and ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Normalized().
|
inline |
Return a normalized vector.
References ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Normalize().
|
inline |
Not equal to operator.
[in] | _v | The vector to compare against |
|
inline |
Multiplication operator.
[in] | _p | multiplier operator |
References ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Vector3().
|
inline |
Multiplication operators.
[in] | _s | the scaling factor |
References ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Vector3().
|
inline |
Multiplication assignment operators.
[in] | _v | a vector |
|
inline |
Multiplication operator.
[in] | _v | scaling factor |
|
inline |
Addition operators.
[in] | _s | the scalar addend |
References ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Vector3().
|
inline |
Addition operator.
[in] | _v | vector to add |
References ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Vector3().
|
inline |
Addition assignment operator.
[in] | _s | scalar addend |
|
inline |
Addition assignment operator.
[in] | _v | vector to add |
|
inline |
Negation operator.
References ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Vector3().
|
inline |
Subtraction operators.
[in] | _s | the scalar subtrahend |
References ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Vector3().
|
inline |
Subtraction operators.
[in] | _pt | a vector to substract |
References ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Vector3().
|
inline |
Subtraction assignment operator.
[in] | _s | scalar subtrahend |
|
inline |
Subtraction assignment operators.
[in] | _pt | subtrahend |
|
inline |
Division operator.
[in] | _pt | the vector divisor |
References ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Vector3().
|
inline |
Division operator.
[in] | _v | the divisor |
References ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Vector3().
|
inline |
Division assignment operator.
[in] | _pt | the vector divisor |
|
inline |
Division assignment operator.
[in] | _v | the divisor |
|
inline |
|
inline |
Assignment operator.
[in] | _v | a new value |
|
inline |
Assignment operator.
[in] | _value | assigned to all elements |
|
inline |
Equal to operator.
[in] | _v | The vector to compare against |
References ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Equal().
|
inline |
Array subscript operator.
[in] | _index | The index, where 0 == x, 1 == y, 2 == z. The index is clamped to the range [0,2]. |
References ignition::math::IGNITION_MATH_VERSION_NAMESPACE::clamp(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::IGN_TWO_SIZE_T, and ignition::math::IGNITION_MATH_VERSION_NAMESPACE::IGN_ZERO_SIZE_T.
|
inline |
Const-qualified array subscript operator.
[in] | _index | The index, where 0 == x, 1 == y, 2 == z. The index is clamped to the range [0,2]. |
References ignition::math::IGNITION_MATH_VERSION_NAMESPACE::clamp(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::IGN_TWO_SIZE_T, and ignition::math::IGNITION_MATH_VERSION_NAMESPACE::IGN_ZERO_SIZE_T.
|
inline |
Return a vector that is perpendicular to this one.
References ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Vector3(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Cross(), and ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::SquaredLength().
|
inline |
Round to near whole number, return the result.
Referenced by ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Rounded().
|
inline |
Round all values to _precision decimal places.
[in] | _precision | the decimal places |
References ignition::math::IGNITION_MATH_VERSION_NAMESPACE::precision().
|
inline |
Get a rounded version of this vector.
References ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Round().
|
inline |
Set the contents of the vector.
[in] | _x | value along x |
[in] | _y | value along y |
[in] | _z | value aling z |
Referenced by ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::From2Axes(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::ToAxis(), and ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix4< T >::TransformAffine().
|
inline |
Return the square of the length (magnitude) of the vector.
Referenced by ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix3< T >::From2Axes(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::From2Axes(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::Integrate(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Length(), and ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Vector3< T >::Perpendicular().
|
inline |
Return the sum of the values.
Referenced by ignition::math::IGNITION_MATH_VERSION_NAMESPACE::MassMatrix3< T >::PrincipalMoments().
|
inline |
Get a mutable reference to the x value.
|
inline |
Get the x value.
Referenced by ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix3< T >::Axis(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix4< T >::Axis(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::Axis(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix3< T >::Col(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::OrientedBox< T >::Contains(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Pose3< T >::CoordPositionAdd(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Line3< T >::Distance(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::MassMatrix3< T >::EquivalentBox(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::Euler(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::Euler(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix4< T >::EulerRotation(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::From2Axes(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::Integrate(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix4< T >::LookAt(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix3< T >::operator*(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix4< T >::operator*(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Inertial< T >::operator+=(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::RotateVector(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::RotateVectorReverse(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix4< T >::Scale(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::Scale(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::MassMatrix3< T >::SetFromBox(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix4< T >::SetTranslation(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix4< T >::TransformAffine(), and ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Line3< T >::Within().
|
inline |
Set the x value.
[in] | _v | Value for the x component. |
|
inline |
Get a mutable reference to the y value.
|
inline |
Get the y value.
Referenced by ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix3< T >::Axis(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix4< T >::Axis(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::Axis(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix3< T >::Col(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Pose3< T >::CoordPositionAdd(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Line3< T >::Distance(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::MassMatrix3< T >::EquivalentBox(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::Euler(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::Euler(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix4< T >::EulerRotation(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::From2Axes(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::Integrate(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix4< T >::LookAt(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix3< T >::operator*(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix4< T >::operator*(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Inertial< T >::operator+=(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::RotateVector(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::RotateVectorReverse(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix4< T >::Scale(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::Scale(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::MassMatrix3< T >::SetFromBox(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix4< T >::SetTranslation(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix4< T >::TransformAffine(), and ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Line3< T >::Within().
|
inline |
Set the y value.
[in] | _v | Value for the y component. |
|
inline |
Get a mutable reference to the z value.
|
inline |
Get the z value.
Referenced by ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix3< T >::Axis(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix4< T >::Axis(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::Axis(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix3< T >::Col(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Pose3< T >::CoordPositionAdd(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Line3< T >::Distance(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::MassMatrix3< T >::EquivalentBox(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::Euler(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::Euler(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix4< T >::EulerRotation(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::From2Axes(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::Integrate(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix4< T >::LookAt(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix3< T >::operator*(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix4< T >::operator*(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Inertial< T >::operator+=(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::RotateVector(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::RotateVectorReverse(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix4< T >::Scale(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Quaternion< T >::Scale(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::MassMatrix3< T >::SetFromBox(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix4< T >::SetTranslation(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Matrix4< T >::TransformAffine(), and ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Line3< T >::Within().
|
inline |
Set the z value.
[in] | _v | Value for the z component. |
|
static |
math::Vector3(1, 1, 1)
|
static |
math::Vector3(1, 0, 0)
|
static |
math::Vector3(0, 1, 0)
|
static |
math::Vector3(0, 0, 1)
|
static |
math::Vector3(0, 0, 0)