CogTransform2DLinear SetMatrixElementsTranslation Method Cognex VisionPro 9.23
Set this transform from the given parameters.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 91.0.0.0
Syntax

public void SetMatrixElementsTranslation(
	double elem00,
	double elem01,
	double elem10,
	double elem11,
	double translationX,
	double translationY
)

Parameters

elem00
Type: System Double

Element (0,0) of the matrix component of the transformation object.

elem01
Type: System Double

Element (0,1) of the matrix component of the transformation object.

elem10
Type: System Double

Element (1,0) of the matrix component of the transformation object.

elem11
Type: System Double

Element (1,1) of the matrix component of the transformation object.

translationX
Type: System Double

The translation along the x-axis.

translationY
Type: System Double

The translation along the y-axis.

Events

Event TypeReason
CogTransform2DLinear Changed

Fires when you use this property to set a matrix or translation element.

The following state flags may be affected:

    Remarks

    Sets the specified matrix and translation elements of this transformation object.

    See Also