RectangleAffine SetFromRectangle Method Cognex VisionPro 9.22

Set parameters of this affine rectangle from the given rectangle and transformation.

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

public void SetFromRectangle(
	Rectangle rectangle,
	Transform2DLinear newTransform
)

Parameters

rectangle
Type: Cognex.Vision Rectangle
The rectangle to use as the basis for this affine rectangle. This is often a unit square..
newTransform
Type: Cognex.Vision Transform2DLinear
The transformation object to apply to rectangle set this affine rectangle.
Remarks

Changed Raised when the value of this property changes.

Sets parameters of this affine rectangle from the given rectangle and transformation. This does not modify the selected space name of this affine rectangle. That must be set separately.

See Also