Skip to content

hom_mat2d_identityHomMat2dIdentityHomMat2dIdentityhom_mat2d_identityT_hom_mat2d_identity🔗

Short description🔗

hom_mat2d_identityHomMat2dIdentityHomMat2dIdentityhom_mat2d_identityT_hom_mat2d_identity — Generate the homogeneous transformation matrix of the identical 2D transformation.

Signature🔗

hom_mat2d_identity( out hom_mat2d HomMat2DIdentity )void HomMat2dIdentity( HTuple* HomMat2DIdentity )static void HOperatorSet.HomMat2dIdentity( out HTuple homMat2DIdentity )def hom_mat2d_identity( ) -> Sequence[float]

Herror T_hom_mat2d_identity( Htuple* HomMat2DIdentity )

void HHomMat2D::HHomMat2D( )

public HHomMat2D( )

void HHomMat2D::HomMat2dIdentity( )

void HHomMat2D.HomMat2dIdentity( )

Description🔗

hom_mat2d_identityHomMat2dIdentity generates the homogeneous transformation matrix HomMat2DIdentityhomMat2DIdentityhom_mat_2didentity describing the identical 2D transformation:

\[\begin{eqnarray*} \textrm{HomMat2DIdentity} = \mvHomMatrixTwoDElements{1 & 0 & 0 \\ 0 & 1 & 0} \end{eqnarray*}\]

Attention🔗

Note that homogeneous matrices are stored row-by-row as a tuple; the last row is not stored because it is identical for all homogeneous matrices that describe an affine transformation. Thus, HomMat2DIdentityhomMat2DIdentityhom_mat_2didentity is stored as the tuple [1,0,0,0,1,0].

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🔗

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

Transformation matrix.

Result🔗

hom_mat2d_identityHomMat2dIdentity always returns 2 (H_MSG_TRUE).

Combinations with other operators🔗

Combinations

Possible successors

hom_mat2d_translateHomMat2dTranslate, hom_mat2d_translate_localHomMat2dTranslateLocal, hom_mat2d_scaleHomMat2dScale, hom_mat2d_scale_localHomMat2dScaleLocal, hom_mat2d_rotateHomMat2dRotate, hom_mat2d_rotate_localHomMat2dRotateLocal, hom_mat2d_slantHomMat2dSlant, hom_mat2d_slant_localHomMat2dSlantLocal, hom_mat2d_reflectHomMat2dReflect, hom_mat2d_reflect_localHomMat2dReflectLocal

Module🔗

Foundation