OpenCvSharp.NativeMethods.core_FileNode_toDouble C# (CSharp) Method

core_FileNode_toDouble() private method

private core_FileNode_toDouble ( IntPtr obj ) : double
obj System.IntPtr
return double
        public static extern double core_FileNode_toDouble(IntPtr obj);
        [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl)]

Usage Example

コード例 #1
0
        /// <summary>
        /// Returns the node content as double
        /// </summary>
        /// <returns></returns>
        public double ToDouble()
        {
            ThrowIfDisposed();

            NativeMethods.HandleException(
                NativeMethods.core_FileNode_toDouble(ptr, out var ret));

            GC.KeepAlive(this);
            return(ret);
        }
NativeMethods