serialize_dual_quatT_serialize_dual_quatSerializeDualQuatSerializeDualQuatserialize_dual_quat (Operator)

Name

serialize_dual_quatT_serialize_dual_quatSerializeDualQuatSerializeDualQuatserialize_dual_quat — Serialize a dual quaternion.

Signature

serialize_dual_quat( : : DualQuaternion : SerializedItemHandle)

Herror T_serialize_dual_quat(const Htuple DualQuaternion, Htuple* SerializedItemHandle)

void SerializeDualQuat(const HTuple& DualQuaternion, HTuple* SerializedItemHandle)

HSerializedItem HDualQuaternion::SerializeDualQuat() const

static void HOperatorSet.SerializeDualQuat(HTuple dualQuaternion, out HTuple serializedItemHandle)

HSerializedItem HDualQuaternion.SerializeDualQuat()

def serialize_dual_quat(dual_quaternion: Sequence[Union[float, int]]) -> HHandle

Description

serialize_dual_quatserialize_dual_quatSerializeDualQuatSerializeDualQuatserialize_dual_quat serializes the data of the DualQuaternionDualQuaternionDualQuaterniondualQuaterniondual_quaternion (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item for an introduction of the basic principle of serialization). The serialized dual quaternion is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle and can be deserialized by deserialize_dual_quatdeserialize_dual_quatDeserializeDualQuatDeserializeDualQuatdeserialize_dual_quat.

Execution Information

Parameters

DualQuaternionDualQuaternionDualQuaterniondualQuaterniondual_quaternion (input_control)  dual_quaternion HDualQuaternion, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Dual quaternion.

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

Handle of the serialized item.

Result

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

Possible Predecessors

axis_angle_to_quataxis_angle_to_quatAxisAngleToQuatAxisAngleToQuataxis_angle_to_quat

Possible Successors

fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemsend_serialized_item, deserialize_quatdeserialize_quatDeserializeQuatDeserializeQuatdeserialize_quat

Module

Foundation