Polygon SetVertex Method Cognex VisionPro 9.20

Set the coordinates of the vertex at the specified index. Index must be >= 0 and < NumVertices.

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.10.0.0
Syntax

public void SetVertex(
	int index,
	double x,
	double y
)
Exceptions

ExceptionCondition
ArgumentExceptionindex < 0
ArgumentExceptionindex >= NumVertices
Remarks

Changed Raised when a vertex is changed.

Remarks

Set the coordinates of the vertex at the specified index. index must be greater than or equal to 0 and less than NumVertices.

See Also