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: 65.1.0.0
Syntax
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