CvSetAdd Method (CvSet, CvSetElem) OpenCvSharp Class Library
Occupies a node in the set

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

public static int SetAdd(
	CvSet setHeader,
	CvSetElem elem
)

Parameters

setHeader
Type: OpenCvSharpCvSet
Set.
elem
Type: OpenCvSharpCvSetElem
Optional input argument, inserted element. If not null, the function copies the data to the allocated node (The MSB of the first integer field is cleared after copying).

Return Value

Type: Int32
the index to the node
See Also

Reference