Exemplo n.º 1
0
 public Rectangle(Rectangle Other) : this(colaPINVOKE.new_Rectangle__SWIG_2(Rectangle.getCPtr(Other)), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public void setDesiredBounds(Rectangle bounds)
 {
     colaPINVOKE.Cluster_setDesiredBounds(swigCPtr, Rectangle.getCPtr(bounds));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
 public void Insert(int index, Rectangle x)
 {
     colaPINVOKE.RectPtrVector_Insert(swigCPtr, index, Rectangle.getCPtr(x));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 4
0
 private void setitem(int index, Rectangle val)
 {
     colaPINVOKE.RectPtrVector_setitem(swigCPtr, index, Rectangle.getCPtr(val));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 5
0
        public static RectPtrVector Repeat(Rectangle value, int count)
        {
            IntPtr        cPtr = colaPINVOKE.RectPtrVector_Repeat(Rectangle.getCPtr(value), count);
            RectPtrVector ret  = (cPtr == IntPtr.Zero) ? null : new RectPtrVector(cPtr, true);

            if (colaPINVOKE.SWIGPendingException.Pending)
            {
                throw colaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 6
0
        public double overlapY(Rectangle r)
        {
            double ret = colaPINVOKE.Rectangle_overlapY(swigCPtr, Rectangle.getCPtr(r));

            return(ret);
        }
Exemplo n.º 7
0
 public Node(uint id, Rectangle arg1) : this(colaPINVOKE.new_Node__SWIG_1(id, Rectangle.getCPtr(arg1)), true)
 {
 }
Exemplo n.º 8
0
 public Node(uint id, Rectangle arg1, SWIGTYPE_p_vpsc__Variable arg2) : this(colaPINVOKE.new_Node__SWIG_0(id, Rectangle.getCPtr(arg1), SWIGTYPE_p_vpsc__Variable.getCPtr(arg2)), true)
 {
 }
Exemplo n.º 9
0
 public void Add(Rectangle x)
 {
     colaPINVOKE.RectPtrVector_Add(swigCPtr, Rectangle.getCPtr(x));
 }