Skip to content

deserialize_hom_mat2dDeserializeHomMat2dDeserializeHomMat2ddeserialize_hom_mat2dT_deserialize_hom_mat2d🔗

Short description🔗

deserialize_hom_mat2dDeserializeHomMat2dDeserializeHomMat2ddeserialize_hom_mat2dT_deserialize_hom_mat2d — Deserialize a serialized homogeneous 2D transformation matrix.

Signature🔗

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

Herror T_deserialize_hom_mat2d( const Htuple SerializedItemHandle, Htuple* HomMat2D )

void HHomMat2D::DeserializeHomMat2d( const HSerializedItem& SerializedItemHandle )

void HHomMat2D.DeserializeHomMat2d( HSerializedItem serializedItemHandle )

Description🔗

deserialize_hom_mat2dDeserializeHomMat2d deserializes a homogeneous 2D transformation matrix, that was serialized by serialize_hom_mat2dSerializeHomMat2d (see fwrite_serialized_itemFwriteSerializedItem for an introduction of the basic principle of serialization). The serialized transformation matrix is defined by the handle SerializedItemHandleserializedItemHandleserialized_item_handle. The deserialized values are stored in an automatically created transformation matrix with the handle HomMat2DhomMat2Dhom_mat_2d.

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🔗

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

Handle of the serialized item.

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

Transformation matrix.

Result🔗

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

Combinations with other operators🔗

Combinations

Possible predecessors

fread_serialized_itemFreadSerializedItem, receive_serialized_itemReceiveSerializedItem, serialize_hom_mat2dSerializeHomMat2d

Module🔗

Foundation