Set parameters of this affine rectangle from the given rectangle and transformation.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 79.0.0.0
Syntax
Parameters
- rectangle
- Type: Cognex.VisionPro CogRectangle
The rectangle to use as the basis for this affine rectangle. This is often a unit square..
- newTransform
- Type: Cognex.VisionPro CogTransform2DLinear
The transformation object to apply to rectangle set this affine rectangle.
Events
| Event Type | Reason |
|---|---|
| CogRectangleAffine Changed | Fires when the value of this property changes. The following state flags may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The rectangle is NULL. |
Remarks
Sets parameters of this affine rectangle from the given rectangle and transformation.
See Also