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 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);
        }
示例#4
0
 public EdgePoint(Node n, EdgePoint.RectIntersect i) : this(colaPINVOKE.new_EdgePoint(Node.getCPtr(n), (int)i), true)
 {
 }
 public void Add(Node x)
 {
     colaPINVOKE.TopologyNodePtrVector_Add(swigCPtr, Node.getCPtr(x));
 }