Create a new polygon by mapping this one through the given transform.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 80.0.0.0
Syntax
Parameters
- transform
- Type: Cognex.VisionPro CogTransform2DLinear
The CogTransform2DLinear through which to map this polygon.
- copyFlags
- Type: Cognex.VisionPro CogCopyShapeConstants
One or more values from CogCopyShapeConstants specifying which attributes of this polygon are to be copied to the mapped polygon.
Return Value
Type: CogPolygonThe returned CogPolygon.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | transform is NULL. |
Remarks
Creates a new polygon by mapping the vertices through a linear transform.
See Also