CvSetSetAdd Method (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 int SetAdd(
	CvSetElem elem,
	out CvSetElem insertedElem
)

Parameters

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