Polygon GetVertexY Method Cognex VisionPro 9.21

The Y-coordinate of the vertex with the given index.

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

public double GetVertexY(
	int index
)

Parameters

index
Type: System Int32
Index of the vertex. Must be >= 0 and < NumVertices.

Return Value

Type: Double
Exceptions

ExceptionCondition
ArgumentExceptionindex < 0 or index > ( NumVertices -1)
Remarks

Gets the y-coordinate of the vertex with the given index. Use SetVertex() and GetVertex() to set or get both the x- and y-coordinate at once.

See Also