Changeset 31742 for lang/cpluspluscli
- Timestamp:
- 03/31/09 22:19:04 (4 years ago)
- Location:
- lang/cpluspluscli/OpenCvSharp2/trunk/OpenCvSharp/Core
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/cpluspluscli/OpenCvSharp2/trunk/OpenCvSharp/Core/CvDll.cs
r31739 r31742 64 64 public static extern void cvCanny(IntPtr image, IntPtr edges, double threshold1, double threshold2, [MarshalAs(UnmanagedType.U4)] ApertureSize aperture_size); 65 65 [DllImport(DLL_CV)] 66 //[return: MarshalAs(UnmanagedType.Bool)]67 //public static extern bool cvCheckContourConvexity(IntPtr contour);68 public static extern int cvCheckContourConvexity(IntPtr contour);66 [return: MarshalAs(UnmanagedType.Bool)] 67 public static extern bool cvCheckContourConvexity(IntPtr contour); 68 //public static extern int cvCheckContourConvexity(IntPtr contour); 69 69 [DllImport(DLL_CV)] 70 70 public static extern void cvClearHist(IntPtr hist); -
lang/cpluspluscli/OpenCvSharp2/trunk/OpenCvSharp/Core/Cv_A-F.cs
r31739 r31742 1407 1407 throw new ArgumentNullException("contour"); 1408 1408 } 1409 //return CvDll.cvCheckContourConvexity(contour.CvPtr);1410 return CvDll.cvCheckContourConvexity(contour.CvPtr) != 0;1409 return CvDll.cvCheckContourConvexity(contour.CvPtr); 1410 //return CvDll.cvCheckContourConvexity(contour.CvPtr) != 0; 1411 1411 } 1412 1412 #endregion
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)