serialize_hom_mat2dT_serialize_hom_mat2dSerializeHomMat2dSerializeHomMat2d (Operator)

Name

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

Description

serialize_hom_mat2dserialize_hom_mat2dSerializeHomMat2dSerializeHomMat2dSerializeHomMat2d serializes the data of a homogeneous 2D transformation matrix (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem for an introduction of the basic principle of serialization). The transformation matrix is defined by the handle HomMat2DHomMat2DHomMat2DHomMat2DhomMat2D. The serialized transformation matrix is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle and can be deserialized by deserialize_hom_mat2ddeserialize_hom_mat2dDeserializeHomMat2dDeserializeHomMat2dDeserializeHomMat2d.

Execution Information

Parameters

HomMat2DHomMat2DHomMat2DHomMat2DhomMat2D (input_control)  hom_mat2d HHomMat2D, HTupleHTupleHtuple (real) (double) (double) (double)

Transformation matrix.

SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle (output_control)  serialized_item HSerializedItem, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the serialized item.

Result

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

Possible Successors

fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItem, deserialize_hom_mat2ddeserialize_hom_mat2dDeserializeHomMat2dDeserializeHomMat2dDeserializeHomMat2d

Module

Foundation