Creates a gcnew CogLine for this line segment. The reference point on the line will be the midpoint of the segment. The line segment must not be degenerate (i.e. the end points must differ).
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 93.1.0.0
Syntax
Parameters
- copyFlags
- Type: Cognex.VisionPro CogCopyShapeConstants
Specify which attributes of the line segment to copy to the new line.
Return Value
Type: CogLineThe newly created CogLine.
Remarks
Creates a new CogLine for this line segment. The reference point on the new line is the midpoint (MidpointX, MidpointY) of the segment.
See Also