Adds vertex to graph
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- vtx
- Type: OpenCvSharpCvGraphVtx
Optional input argument used to initialize the added vertex (only user-defined fields beyond sizeof(CvGraphVtx) are copied). - insertedVtx
- Type: OpenCvSharpCvGraphVtx
The address of the new vertex is written there.
Return Value
Type: Int32The function cvGraphAddVtx adds a vertex to the graph and returns the vertex index.
See Also