CvGraphGraphVtxDegreeByPtr Method OpenCvSharp Class Library
Counts edges indicent to the vertex

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public int GraphVtxDegreeByPtr(
	CvGraphVtx vtx
)

Parameters

vtx
Type: OpenCvSharpCvGraphVtx
Index of the graph vertex.

Return Value

Type: Int32
The function cvGraphVtxDegree returns the number of edges incident to the specified vertex, both incoming and outcoming.
See Also

Reference