Ejemplo n.º 1
0
 public FloatList2N(FloatList2N other) : this(LandmarkDetectorPINVOKE.new_FloatList2N__SWIG_1(FloatList2N.getCPtr(other)), true)
 {
     if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
     {
         throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public FloatList2NEnumerator(FloatList2N collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Ejemplo n.º 3
0
 public void SetRange(int index, FloatList2N values)
 {
     LandmarkDetectorPINVOKE.FloatList2N_SetRange(swigCPtr, index, FloatList2N.getCPtr(values));
     if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
     {
         throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
        public static FloatList2N Repeat(FloatList value, int count)
        {
            global::System.IntPtr cPtr = LandmarkDetectorPINVOKE.FloatList2N_Repeat(FloatList.getCPtr(value), count);
            FloatList2N           ret  = (cPtr == global::System.IntPtr.Zero) ? null : new FloatList2N(cPtr, true);

            if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
            {
                throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 5
0
        public FloatList2N GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = LandmarkDetectorPINVOKE.FloatList2N_GetRange(swigCPtr, index, count);
            FloatList2N           ret  = (cPtr == global::System.IntPtr.Zero) ? null : new FloatList2N(cPtr, true);

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