serialize_hom_mat2dT_serialize_hom_mat2dSerializeHomMat2dSerializeHomMat2dserialize_hom_mat2d (Operator)

Name

serialize_hom_mat2dT_serialize_hom_mat2dSerializeHomMat2dSerializeHomMat2dserialize_hom_mat2d — Serialize a homogeneous 2D transformation matrix.

Signature

serialize_hom_mat2d( : : HomMat2D : SerializedItemHandle)

Herror T_serialize_hom_mat2d(const Htuple HomMat2D, Htuple* SerializedItemHandle)

void SerializeHomMat2d(const HTuple& HomMat2D, HTuple* SerializedItemHandle)

HSerializedItem HHomMat2D::SerializeHomMat2d() const

static void HOperatorSet.SerializeHomMat2d(HTuple homMat2D, out HTuple serializedItemHandle)

HSerializedItem HHomMat2D.SerializeHomMat2d()

def serialize_hom_mat2d(hom_mat_2d: Sequence[float]) -> HHandle

Description

serialize_hom_mat2dserialize_hom_mat2dSerializeHomMat2dSerializeHomMat2dSerializeHomMat2dserialize_hom_mat2d serializes the data of a homogeneous 2D transformation matrix (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item for an introduction of the basic principle of serialization). The transformation matrix is defined by the handle HomMat2DHomMat2DHomMat2DHomMat2DhomMat2Dhom_mat_2d. The serialized transformation matrix is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle and can be deserialized by deserialize_hom_mat2ddeserialize_hom_mat2dDeserializeHomMat2dDeserializeHomMat2dDeserializeHomMat2ddeserialize_hom_mat2d.

Execution Information

Parameters

HomMat2DHomMat2DHomMat2DHomMat2DhomMat2Dhom_mat_2d (input_control)  hom_mat2d HHomMat2D, HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Transformation matrix.

SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_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_hom_mat2dserialize_hom_mat2dSerializeHomMat2dSerializeHomMat2dSerializeHomMat2dserialize_hom_mat2d returns the value TRUE. If necessary, an exception is raised.

Possible Successors

fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItemsend_serialized_item, deserialize_hom_mat2ddeserialize_hom_mat2dDeserializeHomMat2dDeserializeHomMat2dDeserializeHomMat2ddeserialize_hom_mat2d

Module

Foundation