OpenCvSharp.NativeMethods.vector_double_new2 C# (CSharp) Method

vector_double_new2() private method

private vector_double_new2 ( IntPtr size ) : IntPtr
size IntPtr
return IntPtr
        public static extern IntPtr vector_double_new2(IntPtr size);
        [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl)]

Usage Example

コード例 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="size"></param>
 public VectorOfDouble(int size)
 {
     if (size < 0)
     {
         throw new ArgumentOutOfRangeException(nameof(size));
     }
     ptr = NativeMethods.vector_double_new2(new IntPtr(size));
 }
NativeMethods