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

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

public static Polygon MakePolygon(
	CogPolygon polygon
)

Parameters

polygon
Type: Cognex.VisionPro CogPolygon
The VisionPro CogPolygon to be copied from.

Return Value

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