コード例 #1
0
 public void SetRange(int index, TopologyEdgePointPtrVector values)
 {
     colaPINVOKE.TopologyEdgePointPtrVector_SetRange(swigCPtr, index, TopologyEdgePointPtrVector.getCPtr(values));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
ファイル: Edge.cs プロジェクト: cmears/adaptagrams
 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();
     }
 }