public Edge(uint id, double idealLength, TopologyEdgePointPtrVector vs) : this(colaPINVOKE.new_Edge(id, idealLength, TopologyEdgePointPtrVector.getCPtr(vs)), true) { if (colaPINVOKE.SWIGPendingException.Pending) { throw colaPINVOKE.SWIGPendingException.Retrieve(); } }
public TopologyEdgePointPtrVectorEnumerator(TopologyEdgePointPtrVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, TopologyEdgePointPtrVector values) { colaPINVOKE.TopologyEdgePointPtrVector_SetRange(swigCPtr, index, TopologyEdgePointPtrVector.getCPtr(values)); 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); }
public TopologyEdgePointPtrVector GetRange(int index, int count) { IntPtr cPtr = colaPINVOKE.TopologyEdgePointPtrVector_GetRange(swigCPtr, index, count); TopologyEdgePointPtrVector ret = (cPtr == IntPtr.Zero) ? null : new TopologyEdgePointPtrVector(cPtr, true); if (colaPINVOKE.SWIGPendingException.Pending) { throw colaPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static HandleRef getCPtr(TopologyEdgePointPtrVector obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }