示例#1
0
 public Point2DfArray(Point2DfArray other) : this(solar_datastructurePINVOKE.new_Point2DfArray__SWIG_1(Point2DfArray.getCPtr(other)), true)
 {
     if (solar_datastructurePINVOKE.SWIGPendingException.Pending)
     {
         throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public Point2DfArrayEnumerator(Point2DfArray collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
示例#3
0
 public void SetRange(int index, Point2DfArray values)
 {
     solar_datastructurePINVOKE.Point2DfArray_SetRange(swigCPtr, index, Point2DfArray.getCPtr(values));
     if (solar_datastructurePINVOKE.SWIGPendingException.Pending)
     {
         throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#4
0
        public static Point2DfArray Repeat(Point2Df value, int count)
        {
            global::System.IntPtr cPtr = solar_datastructurePINVOKE.Point2DfArray_Repeat(Point2Df.getCPtr(value), count);
            Point2DfArray         ret  = (cPtr == global::System.IntPtr.Zero) ? null : new Point2DfArray(cPtr, true);

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

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