deserialize_quatT_deserialize_quatDeserializeQuatDeserializeQuatdeserialize_quat (Operator)

Name

deserialize_quatT_deserialize_quatDeserializeQuatDeserializeQuatdeserialize_quat — Deserialize a serialized quaternion.

Signature

deserialize_quat( : : SerializedItemHandle : Quaternion)

Herror T_deserialize_quat(const Htuple SerializedItemHandle, Htuple* Quaternion)

void DeserializeQuat(const HTuple& SerializedItemHandle, HTuple* Quaternion)

void HQuaternion::DeserializeQuat(const HSerializedItem& SerializedItemHandle)

static void HOperatorSet.DeserializeQuat(HTuple serializedItemHandle, out HTuple quaternion)

void HQuaternion.DeserializeQuat(HSerializedItem serializedItemHandle)

def deserialize_quat(serialized_item_handle: HHandle) -> Sequence[Union[float, int]]

Description

deserialize_quatdeserialize_quatDeserializeQuatDeserializeQuatdeserialize_quat deserializes a quaternion, that was serialized by serialize_quatserialize_quatSerializeQuatSerializeQuatserialize_quat (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item for an introduction of the basic principle of serialization). The serialized quaternion is defined by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle. The deserialized values are stored in QuaternionQuaternionQuaternionquaternionquaternion.

Execution Information

Parameters

SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle (input_control)  serialized_item HSerializedItem, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the serialized item.

QuaternionQuaternionQuaternionquaternionquaternion (output_control)  quaternion HQuaternion, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Quaternion.

Result

If the parameters are valid, the operator deserialize_quatdeserialize_quatDeserializeQuatDeserializeQuatdeserialize_quat returns the value 2 ( H_MSG_TRUE) . If necessary, an exception is raised.

Possible Predecessors

fread_serialized_itemfread_serialized_itemFreadSerializedItemFreadSerializedItemfread_serialized_item, receive_serialized_itemreceive_serialized_itemReceiveSerializedItemReceiveSerializedItemreceive_serialized_item, serialize_quatserialize_quatSerializeQuatSerializeQuatserialize_quat

Possible Successors

quat_to_hom_mat3dquat_to_hom_mat3dQuatToHomMat3dQuatToHomMat3dquat_to_hom_mat3d, quat_to_posequat_to_poseQuatToPoseQuatToPosequat_to_pose, quat_rotate_point_3dquat_rotate_point_3dQuatRotatePoint3dQuatRotatePoint3dquat_rotate_point_3d, quat_composequat_composeQuatComposeQuatComposequat_compose

Module

Foundation