Polygon RemoveVertex Method Cognex VisionPro 9.20

Remove the specified vertex from the polygon. 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 RemoveVertex(
	int index
)
Exceptions

ExceptionCondition
ArgumentExceptionindex < 0
ArgumentExceptionindex >= NumVertices
Remarks

Changed Raised when a vertex is removed.

Remarks

Removes the specified vertex from the polygon. index must be >= 0 and < NumVertices.

See Also