コード例 #1
0
ファイル: CVPointPair.cs プロジェクト: zjmsky/SharpFace
 public CVPointPair(CVPointPair p) : this(LandmarkDetectorPINVOKE.new_CVPointPair__SWIG_2(CVPointPair.getCPtr(p)), true)
 {
     if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
     {
         throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
ファイル: CVPointPair.cs プロジェクト: zjmsky/SharpFace
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CVPointPair obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }