CogCoreConverters MakeGeneralContour Method Cognex VisionPro 9.24
Create a Deep Copy of the provided CogGeneralContour VisionPro object in the form of a GeneralContour Vision object. Currently this handles copying only CogLineSegments.

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

public static GeneralContour MakeGeneralContour(
	CogGeneralContour cogGeneralContour
)

Parameters

cogGeneralContour
Type: Cognex.VisionPro CogGeneralContour
The VisionPro CogGeneralContour to be copied from.

Return Value

Type: GeneralContour
A Vision GeneralContour 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