Create a new affine rectangle by mapping this one through the given transform.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 69.0.0.0
Syntax
Parameters
- transform
- Type: Cognex.VisionPro CogTransform2DLinear
The CogTransform2DLinear used to map this CogRectangleAffine.
- copyFlags
- Type: Cognex.VisionPro CogCopyShapeConstants
Specify which attributes of the shape to copy to the new shape.
Return Value
Type: CogRectangleAffineThe mapped CogRectangleAffine.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | transform is NULL. |
Remarks
Creates a new affine rectangle by mapping this one through the given transform.
See Also