示例#1
0
 public IntMatList2N(IntMatList2N other) : this(LandmarkDetectorPINVOKE.new_IntMatList2N__SWIG_1(IntMatList2N.getCPtr(other)), true)
 {
     if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
     {
         throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public IntMatList2NEnumerator(IntMatList2N collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
示例#3
0
 public void SetRange(int index, IntMatList2N values)
 {
     LandmarkDetectorPINVOKE.IntMatList2N_SetRange(swigCPtr, index, IntMatList2N.getCPtr(values));
     if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
     {
         throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#4
0
        public static IntMatList2N Repeat(IntMatList value, int count)
        {
            global::System.IntPtr cPtr = LandmarkDetectorPINVOKE.IntMatList2N_Repeat(IntMatList.getCPtr(value), count);
            IntMatList2N          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new IntMatList2N(cPtr, true);

            if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
            {
                throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#5
0
        public IntMatList2N GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = LandmarkDetectorPINVOKE.IntMatList2N_GetRange(swigCPtr, index, count);
            IntMatList2N          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new IntMatList2N(cPtr, true);

            if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
            {
                throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(IntMatList2N obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }