Transform2DLinear MatrixIdentity Method Cognex VisionPro 9.10

Returns true if the 2-by-2 matrix in this transform is an identity mapping within the given tolerance. The tolerance is applied to each matrix element.

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.10.0.0
Syntax

public bool MatrixIdentity(
	double tolerance
)

Parameters

tolerance
Type: System Double
The tolerance to use against each matrix element.

Return Value

Type: Boolean
Remarks

Returns true if:

  • MatrixElement(0, 0) = 1 +/- tolerance
  • MatrixElement(0, 1) = 0 +/- tolerance
  • MatrixElement(1, 0) = 0 +/- tolerance
  • MatrixElement(1, 1) = 1 +/- tolerance

See Also