Operator Reference

hom_mat2d_identityT_hom_mat2d_identityHomMat2dIdentityHomMat2dIdentityhom_mat2d_identity (Operator)

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

Signature

hom_mat2d_identity( : : : HomMat2DIdentity)

Herror T_hom_mat2d_identity(Htuple* HomMat2DIdentity)

void HomMat2dIdentity(HTuple* HomMat2DIdentity)

void HHomMat2D::HHomMat2D()

void HHomMat2D::HomMat2dIdentity()

static void HOperatorSet.HomMat2dIdentity(out HTuple homMat2DIdentity)

public HHomMat2D()

void HHomMat2D.HomMat2dIdentity()

def hom_mat2d_identity() -> Sequence[float]

Description

hom_mat2d_identityhom_mat2d_identityHomMat2dIdentityHomMat2dIdentityhom_mat2d_identity generates the homogeneous transformation matrix HomMat2DIdentityHomMat2DIdentityHomMat2DIdentityhomMat2DIdentityhom_mat_2didentity describing the identical 2D transformation:

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, HomMat2DIdentityHomMat2DIdentityHomMat2DIdentityhomMat2DIdentityhom_mat_2didentity is stored as the tuple [1,0,0,0,1,0].

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

HomMat2DIdentityHomMat2DIdentityHomMat2DIdentityhomMat2DIdentityhom_mat_2didentity (output_control)  hom_mat2d HHomMat2D, HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Transformation matrix.

Result

hom_mat2d_identityhom_mat2d_identityHomMat2dIdentityHomMat2dIdentityhom_mat2d_identity always returns 2 ( H_MSG_TRUE) .

Possible Successors

hom_mat2d_translatehom_mat2d_translateHomMat2dTranslateHomMat2dTranslatehom_mat2d_translate, hom_mat2d_translate_localhom_mat2d_translate_localHomMat2dTranslateLocalHomMat2dTranslateLocalhom_mat2d_translate_local, hom_mat2d_scalehom_mat2d_scaleHomMat2dScaleHomMat2dScalehom_mat2d_scale, hom_mat2d_scale_localhom_mat2d_scale_localHomMat2dScaleLocalHomMat2dScaleLocalhom_mat2d_scale_local, hom_mat2d_rotatehom_mat2d_rotateHomMat2dRotateHomMat2dRotatehom_mat2d_rotate, hom_mat2d_rotate_localhom_mat2d_rotate_localHomMat2dRotateLocalHomMat2dRotateLocalhom_mat2d_rotate_local, hom_mat2d_slanthom_mat2d_slantHomMat2dSlantHomMat2dSlanthom_mat2d_slant, hom_mat2d_slant_localhom_mat2d_slant_localHomMat2dSlantLocalHomMat2dSlantLocalhom_mat2d_slant_local, hom_mat2d_reflecthom_mat2d_reflectHomMat2dReflectHomMat2dReflecthom_mat2d_reflect, hom_mat2d_reflect_localhom_mat2d_reflect_localHomMat2dReflectLocalHomMat2dReflectLocalhom_mat2d_reflect_local

Module

Foundation