示例#1
0
 public FloatMatList2N(FloatMatList2N other) : this(LandmarkDetectorPINVOKE.new_FloatMatList2N__SWIG_1(FloatMatList2N.getCPtr(other)), true)
 {
     if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
     {
         throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public FloatMatList2NEnumerator(FloatMatList2N collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
示例#3
0
 public void SetRange(int index, FloatMatList2N values)
 {
     LandmarkDetectorPINVOKE.FloatMatList2N_SetRange(swigCPtr, index, FloatMatList2N.getCPtr(values));
     if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
     {
         throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#4
0
 public void Read(SWIGTYPE_p_std__ifstream stream, IntList window_sizes, FloatMatList2N sigma_components)
 {
     LandmarkDetectorPINVOKE.CCNF_patch_expert_Read(swigCPtr, SWIGTYPE_p_std__ifstream.getCPtr(stream), IntList.getCPtr(window_sizes), FloatMatList2N.getCPtr(sigma_components));
     if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
     {
         throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#5
0
        public static FloatMatList2N Repeat(FloatMatList value, int count)
        {
            global::System.IntPtr cPtr = LandmarkDetectorPINVOKE.FloatMatList2N_Repeat(FloatMatList.getCPtr(value), count);
            FloatMatList2N        ret  = (cPtr == global::System.IntPtr.Zero) ? null : new FloatMatList2N(cPtr, true);

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

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