示例#1
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)
 {
 }
示例#2
0
 public Node(uint id, Rectangle arg1)
     : this(colaPINVOKE.new_Node__SWIG_1(id, Rectangle.getCPtr(arg1)), true)
 {
 }
示例#3
0
 public Rectangle(Rectangle Other)
     : this(colaPINVOKE.new_Rectangle__SWIG_2(Rectangle.getCPtr(Other)), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
示例#4
0
 public static Rectangle bounds(RectPtrVector rs)
 {
     Rectangle ret = new Rectangle(colaPINVOKE.bounds(RectPtrVector.getCPtr(rs)), true);
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
示例#5
0
 public double overlapY(Rectangle r)
 {
     double ret = colaPINVOKE.Rectangle_overlapY(swigCPtr, Rectangle.getCPtr(r));
     return ret;
 }
示例#6
0
 internal static HandleRef getCPtr(Rectangle obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
示例#7
0
 private void setitem(int index, Rectangle val)
 {
     colaPINVOKE.RectPtrVector_setitem(swigCPtr, index, Rectangle.getCPtr(val));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
示例#8
0
 public void Insert(int index, Rectangle x)
 {
     colaPINVOKE.RectPtrVector_Insert(swigCPtr, index, Rectangle.getCPtr(x));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
示例#9
0
 public void Add(Rectangle x)
 {
     colaPINVOKE.RectPtrVector_Add(swigCPtr, Rectangle.getCPtr(x));
 }
示例#10
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;
 }
示例#11
0
 public void setDesiredBounds(Rectangle bounds)
 {
     colaPINVOKE.Cluster_setDesiredBounds(swigCPtr, Rectangle.getCPtr(bounds));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }