/// <summary> /// 指定したノードが使用されているかどうかを判断する /// </summary> /// <param name="elem">ノードポインタ</param> #else /// <summary> /// /// </summary> /// <param name="elem"></param> /// <returns></returns> #endif public static bool IS_SET_ELEM(CvSetElem elem) { return(elem.Flags); }
/// <summary> /// セットに新しいノード(要素)を追加する /// </summary> /// <param name="elem">挿入する要素. nullでない場合,新たに確保したノードにデータをコピーする (コピーした後,先頭の整数フィールドの最上位ビットはクリアされる). </param> /// <param name="inserted_elem">割り当てられた要素への参照</param> /// <returns>ノードへのインデックス</returns> #else /// <summary> /// Occupies a node in the set /// </summary> /// <param name="elem">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). </param> /// <param name="inserted_elem">Optional output argument; the pointer to the allocated cell. </param> /// <returns>the index to the node</returns> #endif public int SetAdd(CvSetElem elem, out CvSetElem inserted_elem) { return Cv.SetAdd(this, elem, out inserted_elem); }
/// <summary> /// セットに新しいノード(要素)を追加する /// </summary> /// <param name="elem">挿入する要素. nullでない場合,新たに確保したノードにデータをコピーする (コピーした後,先頭の整数フィールドの最上位ビットはクリアされる). </param> /// <param name="insertedElem">割り当てられた要素への参照</param> /// <returns>ノードへのインデックス</returns> #else /// <summary> /// Occupies a node in the set /// </summary> /// <param name="elem">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). </param> /// <param name="insertedElem">Optional output argument; the pointer to the allocated cell. </param> /// <returns>the index to the node</returns> #endif public int SetAdd(CvSetElem elem, out CvSetElem insertedElem) { return(Cv.SetAdd(this, elem, out insertedElem)); }
/// <summary> /// セットに新しいノード(要素)を追加する /// </summary> /// <param name="elem">挿入する要素. nullでない場合,新たに確保したノードにデータをコピーする (コピーした後,先頭の整数フィールドの最上位ビットはクリアされる). </param> /// <returns>ノードへのインデックス</returns> #else /// <summary> /// Occupies a node in the set /// </summary> /// <param name="elem">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). </param> /// <returns>the index to the node</returns> #endif public int SetAdd(CvSetElem elem) { return Cv.SetAdd(this, elem); }
/// <summary> /// セットに新しいノード(要素)を追加する /// </summary> /// <param name="elem">挿入する要素. nullでない場合,新たに確保したノードにデータをコピーする (コピーした後,先頭の整数フィールドの最上位ビットはクリアされる). </param> /// <returns>ノードへのインデックス</returns> #else /// <summary> /// Occupies a node in the set /// </summary> /// <param name="elem">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). </param> /// <returns>the index to the node</returns> #endif public int SetAdd(CvSetElem elem) { return(Cv.SetAdd(this, elem)); }