CvGraphVtxDegreeByPtr 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 static int GraphVtxDegreeByPtr(
	CvGraph graph,
	CvGraphVtx vtx
)

Parameters

graph
Type: OpenCvSharpCvGraph
Graph.
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