public CVPointPairList(CVPointPairList other) : this(LandmarkDetectorPINVOKE.new_CVPointPairList__SWIG_1(CVPointPairList.getCPtr(other)), true) { if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } }
public CVPointPairListEnumerator(CVPointPairList collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, CVPointPairList values) { LandmarkDetectorPINVOKE.CVPointPairList_SetRange(swigCPtr, index, CVPointPairList.getCPtr(values)); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } }
public static void DrawBox(CVPointPairList lines, SWIGTYPE_p_cv__Mat image, SWIGTYPE_p_cv__Scalar color, int thickness) { LandmarkDetectorPINVOKE.DrawBox__SWIG_1(CVPointPairList.getCPtr(lines), SWIGTYPE_p_cv__Mat.getCPtr(image), SWIGTYPE_p_cv__Scalar.getCPtr(color), thickness); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } }
public static CVPointPairList Repeat(CVPointPair value, int count) { global::System.IntPtr cPtr = LandmarkDetectorPINVOKE.CVPointPairList_Repeat(CVPointPair.getCPtr(value), count); CVPointPairList ret = (cPtr == global::System.IntPtr.Zero) ? null : new CVPointPairList(cPtr, true); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public CVPointPairList GetRange(int index, int count) { global::System.IntPtr cPtr = LandmarkDetectorPINVOKE.CVPointPairList_GetRange(swigCPtr, index, count); CVPointPairList ret = (cPtr == global::System.IntPtr.Zero) ? null : new CVPointPairList(cPtr, true); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CVPointPairList obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }