quat_normalizeT_quat_normalizeQuatNormalizeQuatNormalizequat_normalize (Operator)

Name

quat_normalizeT_quat_normalizeQuatNormalizeQuatNormalizequat_normalize — 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()

def quat_normalize(quaternion: Sequence[float]) -> Sequence[float]

Description

The operator quat_normalizequat_normalizeQuatNormalizeQuatNormalizequat_normalize scales the input quaternion QuaternionQuaternionQuaternionquaternionquaternion such that its norm is 1. The result is returned in NormalizedQuaternionNormalizedQuaternionNormalizedQuaternionnormalizedQuaternionnormalized_quaternion.

Execution Information

Parameters

QuaternionQuaternionQuaternionquaternionquaternion (input_control)  quaternion HQuaternion, HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Input quaternion.

NormalizedQuaternionNormalizedQuaternionNormalizedQuaternionnormalizedQuaternionnormalized_quaternion (output_control)  quaternion HQuaternion, HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Normalized quaternion.

Possible Predecessors

axis_angle_to_quataxis_angle_to_quatAxisAngleToQuatAxisAngleToQuataxis_angle_to_quat

Possible Successors

quat_to_hom_mat3dquat_to_hom_mat3dQuatToHomMat3dQuatToHomMat3dquat_to_hom_mat3d, quat_rotate_point_3dquat_rotate_point_3dQuatRotatePoint3dQuatRotatePoint3dquat_rotate_point_3d

See also

axis_angle_to_quataxis_angle_to_quatAxisAngleToQuatAxisAngleToQuataxis_angle_to_quat, quat_interpolatequat_interpolateQuatInterpolateQuatInterpolatequat_interpolate, quat_composequat_composeQuatComposeQuatComposequat_compose, quat_conjugatequat_conjugateQuatConjugateQuatConjugatequat_conjugate, dual_quat_to_hom_mat3ddual_quat_to_hom_mat3dDualQuatToHomMat3dDualQuatToHomMat3ddual_quat_to_hom_mat3d

Module

Foundation