public CVPoint2DPairList(CVPoint2DPairList other) : this(LandmarkDetectorPINVOKE.new_CVPoint2DPairList__SWIG_1(CVPoint2DPairList.getCPtr(other)), true) { if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } }
public CVPoint2DPairListEnumerator(CVPoint2DPairList collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, CVPoint2DPairList values) { LandmarkDetectorPINVOKE.CVPoint2DPairList_SetRange(swigCPtr, index, CVPoint2DPairList.getCPtr(values)); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } }
public static CVPoint2DPairList CalculateBox(SWIGTYPE_p_cv__Vec6d pose, float fx, float fy, float cx, float cy) { CVPoint2DPairList ret = new CVPoint2DPairList(LandmarkDetectorPINVOKE.CalculateBox(SWIGTYPE_p_cv__Vec6d.getCPtr(pose), fx, fy, cx, cy), true); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static CVPoint2DPairList Repeat(CVPoint2DPair value, int count) { global::System.IntPtr cPtr = LandmarkDetectorPINVOKE.CVPoint2DPairList_Repeat(CVPoint2DPair.getCPtr(value), count); CVPoint2DPairList ret = (cPtr == global::System.IntPtr.Zero) ? null : new CVPoint2DPairList(cPtr, true); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public CVPoint2DPairList GetRange(int index, int count) { global::System.IntPtr cPtr = LandmarkDetectorPINVOKE.CVPoint2DPairList_GetRange(swigCPtr, index, count); CVPoint2DPairList ret = (cPtr == global::System.IntPtr.Zero) ? null : new CVPoint2DPairList(cPtr, true); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CVPoint2DPairList obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }