Creates a new Line 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).
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.21.1.1
Syntax
Parameters
- copyFlags
- Type: Cognex.Vision CopyShapeConstants
Specify which attributes of the line segment to copy to the new line.
Return Value
Type: LineThe newly created Line.
Remarks
Creates a new Line for this line segment. The reference point on the new line is the midpoint ( MidpointX, MidpointY ) of the segment.
See Also