CogCoreConverters MakeCogPolygon Method Cognex VisionPro 9.22 SR1
Create a Deep Copy of the provided Polygon Vision object in the form of a CogPolygon VisionPro object.

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

public static CogPolygon MakeCogPolygon(
	Polygon polygon
)

Return Value

Type: CogPolygon
A VisionPro CogPolygon that is equivalent to the provided Vision Polygon.
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