Skip to content

serialize_hom_mat2dSerializeHomMat2dSerializeHomMat2dserialize_hom_mat2dT_serialize_hom_mat2d🔗

Short description🔗

serialize_hom_mat2dSerializeHomMat2dSerializeHomMat2dserialize_hom_mat2dT_serialize_hom_mat2d — Serialize a homogeneous 2D transformation matrix.

Signature🔗

serialize_hom_mat2d( hom_mat2d HomMat2D, out serialized_item SerializedItemHandle )void SerializeHomMat2d( const HTuple& HomMat2D, HTuple* SerializedItemHandle )static void HOperatorSet.SerializeHomMat2d( HTuple homMat2D, out HTuple serializedItemHandle )def serialize_hom_mat2d( hom_mat_2d: Sequence[float] ) -> HHandle

Herror T_serialize_hom_mat2d( const Htuple HomMat2D, Htuple* SerializedItemHandle )

HSerializedItem HHomMat2D::SerializeHomMat2d( ) const

HSerializedItem HHomMat2D.SerializeHomMat2d( )

Description🔗

serialize_hom_mat2dSerializeHomMat2d serializes the data of a homogeneous 2D transformation matrix (see fwrite_serialized_itemFwriteSerializedItem for an introduction of the basic principle of serialization). The transformation matrix is defined by the handle HomMat2DhomMat2Dhom_mat_2d. The serialized transformation matrix is returned by the handle SerializedItemHandleserializedItemHandleserialized_item_handle and can be deserialized by deserialize_hom_mat2dDeserializeHomMat2d.

Execution information🔗

Execution information
  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).

  • Multithreading scope: global (may be called from any thread).

  • Processed without parallelization.

Parameters🔗

HomMat2DhomMat2Dhom_mat_2d (input_control) hom_mat2d → (real)HTuple (double)HHomMat2D, HTuple (double)Sequence[float]Htuple (double)

Transformation matrix.

SerializedItemHandleserializedItemHandleserialized_item_handle (output_control) serialized_item → (handle)HTuple (HHandle)HSerializedItem, HTuple (IntPtr)HHandleHtuple (handle)

Handle of the serialized item.

Result🔗

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

Combinations with other operators🔗

Combinations

Possible successors

fwrite_serialized_itemFwriteSerializedItem, send_serialized_itemSendSerializedItem, deserialize_hom_mat2dDeserializeHomMat2d

Module🔗

Foundation