CvGraphGraphAddVtx Method (CvGraphVtx, CvGraphVtx) OpenCvSharp Class Library
Adds vertex to graph

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

public int GraphAddVtx(
	CvGraphVtx vtx,
	out CvGraphVtx insertedVtx
)

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: Int32
The function cvGraphAddVtx adds a vertex to the graph and returns the vertex index.
See Also

Reference