rtm/qvvd.h¶
#include "rtm/qvvd.h"
qvv_cast¶
vqvd qvv_cast(vqvf input)
Casts a VQV transform float32 variant to a float64 variant.
Deprecated
Use 'vqv_cast' instead. To be removed in 2.5.
qvv_from_matrix¶
vqvd qvv_from_matrix(matrix3x3d input)
Converts a pure rotation 3x3 matrix into a VQV transform.
Deprecated
Use 'vqv_from_matrix' instead. To be removed in 2.5.
vqvd qvv_from_matrix(matrix3x4d input)
Converts a 3x4 affine matrix into a VQV transform.
Deprecated
Use 'vqv_from_matrix' instead. To be removed in 2.5.
qvv_mul¶
vqvd qvv_mul(vqvd lhs, vqvd rhs)
Multiplies two VQV transforms.
Deprecated
Use 'vqv_mul' instead. To be removed in 2.5.
qvv_mul_no_scale¶
vqvd qvv_mul_no_scale(vqvd lhs, vqvd rhs)
Multiplies two VQV transforms ignoring 3D scale.
Deprecated
Use 'vqv_mul_no_scale' instead. To be removed in 2.5.
qvv_mul_point3¶
vector4d qvv_mul_point3(vector4d point, vqvd vqv)
Multiplies a VQV transform and a 3D point.
Deprecated
Use 'vqv_mul_point3' instead. To be removed in 2.5.
qvv_mul_point3_no_scale¶
vector4d qvv_mul_point3_no_scale(vector4d point, vqvd vqv)
Multiplies a VQV transform and a 3D point ignoring 3D scale.
Deprecated
Use 'vqv_mul_point3_no_scale' instead. To be removed in 2.5.
qvv_inverse¶
vqvd qvv_inverse(vqvd input)
Returns the inverse of the input VQV transform.
Deprecated
Use 'vqv_inverse' instead. To be removed in 2.5.
vqvd qvv_inverse(vqvd input, vector4d fallback_scale, double threshold=1.0E-8)
Returns the inverse of the input VQV transform with a fallback scale.
Deprecated
Use 'vqv_inverse' instead. To be removed in 2.5.
qvv_inverse_no_scale¶
vqvd qvv_inverse_no_scale(vqvd input)
Returns the inverse of the input VQV transform ignoring 3D scale.
Deprecated
Use 'vqv_inverse_no_scale' instead. To be removed in 2.5.
qvv_normalize¶
vqvd qvv_normalize(vqvd input)
Returns a VQV transform with the rotation part normalized.
Deprecated
Use 'vqv_normalize' instead. To be removed in 2.5.
qvv_lerp¶
vqvd qvv_lerp(vqvd start, vqvd end, double alpha)
Per component linear interpolation of the two inputs at the specified alpha.
Deprecated
Use 'vqv_lerp' instead. To be removed in 2.5.
qvv_lerp_no_scale¶
vqvd qvv_lerp_no_scale(vqvd start, vqvd end, double alpha)
Per component linear interpolation of the two inputs at the specified alpha, without the scale.
Deprecated
Use 'vqv_lerp_no_scale' instead. To be removed in 2.5.
qvv_slerp¶
vqvd qvv_slerp(vqvd start, vqvd end, double alpha)
Per component spherical interpolation of the two inputs at the specified alpha.
Deprecated
Use 'vqv_slerp' instead. To be removed in 2.5.
qvv_slerp_no_scale¶
vqvd qvv_slerp_no_scale(vqvd start, vqvd end, double alpha)
Per component spherical interpolation of the two inputs at the specified alpha, without the scale.
Deprecated
Use 'vqv_slerp_no_scale' instead. To be removed in 2.5.
qvv_is_finite¶
bool qvv_is_finite(vqvd input)
Returns true if the input VQV does not contain any NaN or Inf, otherwise false.
Deprecated
Use 'vqv_is_finite' instead. To be removed in 2.5.
qvv_set¶
constexpr vqvd qvv_set(quatd rotation, vector4d translation, vector4d scale)
Creates a VQV transform from a rotation quaternion, a translation, and a 3D scale.
Deprecated
Use 'vqv_set' instead. To be removed in 2.5.
qvv_identity¶
vqvd qvv_identity()
Returns the identity VQV transform.
Deprecated
Use 'vqv_identity' instead. To be removed in 2.5.
The return value also converts to vqvf.