Creates a new line segment by mapping this line segment through a linear 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 used to map this CogLineSegment.
- copyFlags
- Type: Cognex.VisionPro CogCopyShapeConstants
Specify which attributes of the shape to copy to the new shape.
Return Value
Type: CogLineSegmentThe mapped CogLineSegment.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | transform is NULL. |
Remarks
Creates a new line segment by mapping this line segment through a linear transform.
See Also