CvCloneGraph Method OpenCvSharp Class Library
Clone graph

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

public static CvGraph CloneGraph(
	CvGraph graph,
	CvMemStorage storage
)

Parameters

graph
Type: OpenCvSharpCvGraph
Graph.
storage
Type: OpenCvSharpCvMemStorage
Container for the copy.

Return Value

Type: CvGraph
The function cvCloneGraph creates full copy of the graph. If the graph vertices or edges have pointers to some external data, it still be shared between the copies. The vertex and edge indices in the new graph may be different from the original, because the function defragments the vertex and edge sets.
See Also

Reference