CvSetAdd Method (CvSet, CvSetElem, 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,
	out CvSetElem insertedElem
)

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).
insertedElem
Type: OpenCvSharpCvSetElem
Optional output argument; the pointer to the allocated cell.

Return Value

Type: Int32
the index to the node
See Also

Reference