Esempio n. 1
0
 internal static HandleRef getCPtr(Node obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 private void setitem(int index, Node val)
 {
     colaPINVOKE.TopologyNodePtrVector_setitem(swigCPtr, index, Node.getCPtr(val));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
 public void Insert(int index, Node x)
 {
     colaPINVOKE.TopologyNodePtrVector_Insert(swigCPtr, index, Node.getCPtr(x));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
 public void Add(Node x)
 {
     colaPINVOKE.TopologyNodePtrVector_Add(swigCPtr, Node.getCPtr(x));
 }
 public static TopologyNodePtrVector Repeat(Node value, int count)
 {
     IntPtr cPtr = colaPINVOKE.TopologyNodePtrVector_Repeat(Node.getCPtr(value), count);
     TopologyNodePtrVector ret = (cPtr == IntPtr.Zero) ? null : new TopologyNodePtrVector(cPtr, true);
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Esempio n. 6
0
 public EdgePoint(Node n, EdgePoint.RectIntersect i)
     : this(colaPINVOKE.new_EdgePoint(Node.getCPtr(n), (int)i), true)
 {
 }