예제 #1
0
 public Contour2DfArray(Contour2DfArray other) : this(solar_datastructurePINVOKE.new_Contour2DfArray__SWIG_1(Contour2DfArray.getCPtr(other)), true)
 {
     if (solar_datastructurePINVOKE.SWIGPendingException.Pending)
     {
         throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public Contour2DfArrayEnumerator(Contour2DfArray collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
예제 #3
0
 public void SetRange(int index, Contour2DfArray values)
 {
     solar_datastructurePINVOKE.Contour2DfArray_SetRange(swigCPtr, index, Contour2DfArray.getCPtr(values));
     if (solar_datastructurePINVOKE.SWIGPendingException.Pending)
     {
         throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #4
0
        public static Contour2DfArray Repeat(Point2DfArray value, int count)
        {
            global::System.IntPtr cPtr = solar_datastructurePINVOKE.Contour2DfArray_Repeat(Point2DfArray.getCPtr(value), count);
            Contour2DfArray       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new Contour2DfArray(cPtr, true);

            if (solar_datastructurePINVOKE.SWIGPendingException.Pending)
            {
                throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #5
0
        public Contour2DfArray GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = solar_datastructurePINVOKE.Contour2DfArray_GetRange(swigCPtr, index, count);
            Contour2DfArray       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new Contour2DfArray(cPtr, true);

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