quat_normalizeT_quat_normalizeQuatNormalizeQuatNormalize (Operator)

Name

quat_normalizeT_quat_normalizeQuatNormalizeQuatNormalize — Normalize a quaternion.

Signature

quat_normalize( : : Quaternion : NormalizedQuaternion)

Herror T_quat_normalize(const Htuple Quaternion, Htuple* NormalizedQuaternion)

void QuatNormalize(const HTuple& Quaternion, HTuple* NormalizedQuaternion)

HQuaternion HQuaternion::QuatNormalize() const

static void HOperatorSet.QuatNormalize(HTuple quaternion, out HTuple normalizedQuaternion)

HQuaternion HQuaternion.QuatNormalize()

Description

The operator quat_normalizequat_normalizeQuatNormalizeQuatNormalizeQuatNormalize scales the input quaternion QuaternionQuaternionQuaternionQuaternionquaternion such that its norm is 1. The result is returned in NormalizedQuaternionNormalizedQuaternionNormalizedQuaternionNormalizedQuaternionnormalizedQuaternion.

Execution Information

Parameters

QuaternionQuaternionQuaternionQuaternionquaternion (input_control)  quaternion HQuaternion, HTupleHTupleHtuple (real) (double) (double) (double)

Input quaternion.

NormalizedQuaternionNormalizedQuaternionNormalizedQuaternionNormalizedQuaternionnormalizedQuaternion (output_control)  quaternion HQuaternion, HTupleHTupleHtuple (real) (double) (double) (double)

Normalized quaternion.

Possible Predecessors

axis_angle_to_quataxis_angle_to_quatAxisAngleToQuatAxisAngleToQuatAxisAngleToQuat

Possible Successors

quat_to_hom_mat3dquat_to_hom_mat3dQuatToHomMat3dQuatToHomMat3dQuatToHomMat3d, quat_rotate_point_3dquat_rotate_point_3dQuatRotatePoint3dQuatRotatePoint3dQuatRotatePoint3d

See also

axis_angle_to_quataxis_angle_to_quatAxisAngleToQuatAxisAngleToQuatAxisAngleToQuat, quat_interpolatequat_interpolateQuatInterpolateQuatInterpolateQuatInterpolate, quat_composequat_composeQuatComposeQuatComposeQuatCompose, quat_conjugatequat_conjugateQuatConjugateQuatConjugateQuatConjugate, dual_quat_to_hom_mat3ddual_quat_to_hom_mat3dDualQuatToHomMat3dDualQuatToHomMat3dDualQuatToHomMat3d

Module

Foundation