private void setitem(int index, EdgePoint val)
 {
     colaPINVOKE.TopologyEdgePointPtrVector_setitem(swigCPtr, index, EdgePoint.getCPtr(val));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void Insert(int index, EdgePoint x)
 {
     colaPINVOKE.TopologyEdgePointPtrVector_Insert(swigCPtr, index, EdgePoint.getCPtr(x));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public static TopologyEdgePointPtrVector Repeat(EdgePoint value, int count)
        {
            IntPtr cPtr = colaPINVOKE.TopologyEdgePointPtrVector_Repeat(EdgePoint.getCPtr(value), count);
            TopologyEdgePointPtrVector ret = (cPtr == IntPtr.Zero) ? null : new TopologyEdgePointPtrVector(cPtr, true);

            if (colaPINVOKE.SWIGPendingException.Pending)
            {
                throw colaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #4
0
        public bool uniqueCheck(EdgePoint e)
        {
            bool ret = colaPINVOKE.EdgePoint_uniqueCheck(swigCPtr, EdgePoint.getCPtr(e));

            return(ret);
        }
 public void Add(EdgePoint x)
 {
     colaPINVOKE.TopologyEdgePointPtrVector_Add(swigCPtr, EdgePoint.getCPtr(x));
 }