CvGraphRemoveVtxByPtr Method OpenCvSharp Class Library
Removes vertex from graph

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

public static int GraphRemoveVtxByPtr(
	CvGraph graph,
	CvGraphVtx vtx
)

Parameters

graph
Type: OpenCvSharpCvGraph
Graph.
vtx
Type: OpenCvSharpCvGraphVtx
Vertex to remove

Return Value

Type: Int32
The function cvGraphRemoveVtxByPtr removes a vertex from the graph together with all the edges incident to it. The function reports an error, if the vertex does not belong to the graph. The return value is number of edges deleted, or -1 if the vertex does not belong to the graph.
See Also

Reference