Removes edge from graph
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
public static void GraphRemoveEdge(
CvGraph graph,
int startIdx,
int endIdx
)
Public Shared Sub GraphRemoveEdge (
graph As CvGraph,
startIdx As Integer,
endIdx As Integer
)
public:
static void GraphRemoveEdge(
CvGraph^ graph,
int startIdx,
int endIdx
)
static member GraphRemoveEdge :
graph : CvGraph *
startIdx : int *
endIdx : int -> unit
Parameters
- graph
- Type: OpenCvSharpCvGraph
Graph. - startIdx
- Type: SystemInt32
Index of the starting vertex of the edge. - endIdx
- Type: SystemInt32
Index of the ending vertex of the edge. For unoriented graph the order of the vertex parameters does not matter.
The function cvGraphRemoveEdge removes the edge connecting two specified vertices. If the vertices are not connected [in that order], the function does nothing.
Reference