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);
        }
        private EdgePoint getitem(int index)
        {
            IntPtr    cPtr = colaPINVOKE.TopologyEdgePointPtrVector_getitem(swigCPtr, index);
            EdgePoint ret  = (cPtr == IntPtr.Zero) ? null : new EdgePoint(cPtr, false);

            if (colaPINVOKE.SWIGPendingException.Pending)
            {
                throw colaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 5
0
        public bool uniqueCheck(EdgePoint e)
        {
            bool ret = colaPINVOKE.EdgePoint_uniqueCheck(swigCPtr, EdgePoint.getCPtr(e));

            return(ret);
        }
Exemplo n.º 6
0
 internal static HandleRef getCPtr(EdgePoint obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 public void Add(EdgePoint x)
 {
     colaPINVOKE.TopologyEdgePointPtrVector_Add(swigCPtr, EdgePoint.getCPtr(x));
 }
 public void Insert(int index, EdgePoint x)
 {
     colaPINVOKE.TopologyEdgePointConstPtrVector_Insert(swigCPtr, index, EdgePoint.getCPtr(x));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
 private void setitem(int index, EdgePoint val)
 {
     colaPINVOKE.TopologyEdgePointConstPtrVector_setitem(swigCPtr, index, EdgePoint.getCPtr(val));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
 public void Add(EdgePoint x)
 {
     colaPINVOKE.TopologyEdgePointConstPtrVector_Add(swigCPtr, EdgePoint.getCPtr(x));
 }
 public static TopologyEdgePointConstPtrVector Repeat(EdgePoint value, int count)
 {
     IntPtr cPtr = colaPINVOKE.TopologyEdgePointConstPtrVector_Repeat(EdgePoint.getCPtr(value), count);
     TopologyEdgePointConstPtrVector ret = (cPtr == IntPtr.Zero) ? null : new TopologyEdgePointConstPtrVector(cPtr, true);
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Exemplo n.º 12
0
 public EdgePoint(Node n, EdgePoint.RectIntersect i)
     : this(colaPINVOKE.new_EdgePoint(Node.getCPtr(n), (int)i), true)
 {
 }
Exemplo n.º 13
0
 internal static HandleRef getCPtr(EdgePoint obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Exemplo n.º 14
0
 public bool uniqueCheck(EdgePoint e)
 {
     bool ret = colaPINVOKE.EdgePoint_uniqueCheck(swigCPtr, EdgePoint.getCPtr(e));
     return ret;
 }