Finds edge in graph
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static CvGraphEdge FindGraphEdgeByPtr( CvGraph graph, CvGraphVtx startVtx, CvGraphVtx endVtx )
Parameters
- graph
- Type: OpenCvSharpCvGraph
Graph. - startVtx
- Type: OpenCvSharpCvGraphVtx
Starting vertex of the edge. - endVtx
- Type: OpenCvSharpCvGraphVtx
Ending vertex of the edge. For unoriented graph the order of the vertex parameters does not matter.
Return Value
Type: CvGraphEdgeThe 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