Exemplo n.º 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();
     }
 }
Exemplo n.º 2
0
 public Point2DfArrayEnumerator(Point2DfArray collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Exemplo n.º 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();
     }
 }
Exemplo n.º 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);
        }
Exemplo n.º 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);
        }
Exemplo n.º 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);
 }