CvFindGraphEdge Method OpenCvSharp Class Library
Finds edge in graph

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

public static CvGraphEdge FindGraphEdge(
	CvGraph graph,
	int startIdx,
	int endIdx
)

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.

Return Value

Type: CvGraphEdge
The function cvFindGraphEdge finds the graph edge connecting two specified vertices and returns pointer to it or NULL if the edge does not exists.
See Also

Reference