CogCoreConverters MakeLineSegment Method Cognex VisionPro 9.22
Create a Deep Copy of the provided CogLineSegment VisionPro object in the form of a LineSegment Vision object.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.VisionInterop (in Cognex.VisionPro.VisionInterop.dll) Version: 87.0.0.0
Syntax

public static LineSegment MakeLineSegment(
	CogLineSegment cogLineSegment
)

Parameters

cogLineSegment
Type: Cognex.VisionPro CogLineSegment
The VisionPro CogLineSegment to be copied from.

Return Value

Type: LineSegment
A Vision LineSegment that has the equivalent properties
Remarks

Providing an argument that is null will result in a return that is null as well. In other words, a null converts to a null.

See Also