CogTransform2DLinear SetMatrixElement Method Cognex VisionPro 9.25 SR1
Access the selected element of the 2-by-2 matrix in this transform.

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

public void SetMatrixElement(
	int row,
	int column,
	double value
)

Parameters

row
Type: System Int32

The row index of the element to set or get. Row numbering starts at zero.

column
Type: System Int32

The column index of the element to set or get. Column numbering starts at zero.

value
Type: System Double
Events

Event TypeReason
CogTransform2DLinear Changed

Fires when a matrix element changes.

The following state flags may be affected:

    Exceptions

    ExceptionCondition
    ArgumentException

    row or column is less than zero or greater than one.

    Remarks

    Sets or gets the selected element from this transformation object's (2x2) matrix.

    See Also