コード例 #1
0
 public ConstrainedFDLayout(RectPtrVector rs, EdgeVector es, double idealLength) : this(colaPINVOKE.new_ConstrainedFDLayout__SWIG_3(RectPtrVector.getCPtr(rs), EdgeVector.getCPtr(es), idealLength), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public ConstrainedFDLayout(RectPtrVector rs, EdgeVector es, double idealLength, SWIGTYPE_p_std__valarrayT_double_t eweights, TestConvergence done, PreIteration preIteration) : this(colaPINVOKE.new_ConstrainedFDLayout__SWIG_0(RectPtrVector.getCPtr(rs), EdgeVector.getCPtr(es), idealLength, SWIGTYPE_p_std__valarrayT_double_t.getCPtr(eweights), TestConvergence.getCPtr(done), PreIteration.getCPtr(preIteration)), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #3
0
 public ConstrainedFDLayout(RectPtrVector rs, EdgeVector es, double idealLength, SWIGTYPE_p_std__valarrayT_double_t eweights) : this(colaPINVOKE.new_ConstrainedFDLayout__SWIG_2(RectPtrVector.getCPtr(rs), EdgeVector.getCPtr(es), idealLength, SWIGTYPE_p_std__valarrayT_double_t.getCPtr(eweights)), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #4
0
 public ConstrainedMajorizationLayout(RectPtrVector rs, EdgeVector es, RootCluster clusterHierarchy, double idealLength, SWIGTYPE_p_std__valarrayT_double_t eweights, TestConvergence done) : this(colaPINVOKE.new_ConstrainedMajorizationLayout__SWIG_1(RectPtrVector.getCPtr(rs), EdgeVector.getCPtr(es), RootCluster.getCPtr(clusterHierarchy), idealLength, SWIGTYPE_p_std__valarrayT_double_t.getCPtr(eweights), TestConvergence.getCPtr(done)), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #5
0
 public ConstrainedMajorizationLayout(RectPtrVector rs, EdgeVector es, RootCluster clusterHierarchy, double idealLength) : this(colaPINVOKE.new_ConstrainedMajorizationLayout__SWIG_3(RectPtrVector.getCPtr(rs), EdgeVector.getCPtr(es), RootCluster.getCPtr(clusterHierarchy), idealLength), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #6
0
ファイル: EdgeVector.cs プロジェクト: cmears/adaptagrams
 public EdgeVectorEnumerator(EdgeVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
コード例 #7
0
ファイル: EdgeVector.cs プロジェクト: cmears/adaptagrams
 public void SetRange(int index, EdgeVector values)
 {
     colaPINVOKE.EdgeVector_SetRange(swigCPtr, index, EdgeVector.getCPtr(values));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #8
0
ファイル: EdgeVector.cs プロジェクト: cmears/adaptagrams
 public void AddRange(EdgeVector values)
 {
     colaPINVOKE.EdgeVector_AddRange(swigCPtr, EdgeVector.getCPtr(values));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #9
0
ファイル: EdgeVector.cs プロジェクト: cmears/adaptagrams
        public static EdgeVector Repeat(ColaEdge value, int count)
        {
            IntPtr     cPtr = colaPINVOKE.EdgeVector_Repeat(ColaEdge.getCPtr(value), count);
            EdgeVector ret  = (cPtr == IntPtr.Zero) ? null : new EdgeVector(cPtr, true);

            if (colaPINVOKE.SWIGPendingException.Pending)
            {
                throw colaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #10
0
ファイル: EdgeVector.cs プロジェクト: cmears/adaptagrams
        public EdgeVector GetRange(int index, int count)
        {
            IntPtr     cPtr = colaPINVOKE.EdgeVector_GetRange(swigCPtr, index, count);
            EdgeVector ret  = (cPtr == IntPtr.Zero) ? null : new EdgeVector(cPtr, true);

            if (colaPINVOKE.SWIGPendingException.Pending)
            {
                throw colaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #11
0
 public ConstrainedMajorizationLayout(RectPtrVector rs, EdgeVector es, RootCluster clusterHierarchy, double idealLength)
     : this(colaPINVOKE.new_ConstrainedMajorizationLayout__SWIG_3(RectPtrVector.getCPtr(rs), EdgeVector.getCPtr(es), RootCluster.getCPtr(clusterHierarchy), idealLength), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #12
0
ファイル: EdgeVector.cs プロジェクト: amolenaar/adaptagrams
 internal static HandleRef getCPtr(EdgeVector obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
コード例 #13
0
 public ConstrainedFDLayout(RectPtrVector rs, EdgeVector es, double idealLength, SWIGTYPE_p_std__valarrayT_double_t eweights, TestConvergence done, PreIteration preIteration)
     : this(colaPINVOKE.new_ConstrainedFDLayout__SWIG_0(RectPtrVector.getCPtr(rs), EdgeVector.getCPtr(es), idealLength, SWIGTYPE_p_std__valarrayT_double_t.getCPtr(eweights), TestConvergence.getCPtr(done), PreIteration.getCPtr(preIteration)), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #14
0
ファイル: EdgeVector.cs プロジェクト: cmears/adaptagrams
 internal static HandleRef getCPtr(EdgeVector obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #15
0
ファイル: EdgeVector.cs プロジェクト: amolenaar/adaptagrams
 public void AddRange(EdgeVector values)
 {
     colaPINVOKE.EdgeVector_AddRange(swigCPtr, EdgeVector.getCPtr(values));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #16
0
 public ConstrainedFDLayout(RectPtrVector rs, EdgeVector es, double idealLength, SWIGTYPE_p_std__valarrayT_double_t eweights)
     : this(colaPINVOKE.new_ConstrainedFDLayout__SWIG_2(RectPtrVector.getCPtr(rs), EdgeVector.getCPtr(es), idealLength, SWIGTYPE_p_std__valarrayT_double_t.getCPtr(eweights)), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #17
0
ファイル: EdgeVector.cs プロジェクト: amolenaar/adaptagrams
 public void SetRange(int index, EdgeVector values)
 {
     colaPINVOKE.EdgeVector_SetRange(swigCPtr, index, EdgeVector.getCPtr(values));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #18
0
 public ConstrainedFDLayout(RectPtrVector rs, EdgeVector es, double idealLength)
     : this(colaPINVOKE.new_ConstrainedFDLayout__SWIG_3(RectPtrVector.getCPtr(rs), EdgeVector.getCPtr(es), idealLength), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #19
0
ファイル: EdgeVector.cs プロジェクト: amolenaar/adaptagrams
 public EdgeVectorEnumerator(EdgeVector collection)
 {
     collectionRef = collection;
       currentIndex = -1;
       currentObject = null;
       currentSize = collectionRef.Count;
 }
コード例 #20
0
 public ConstrainedMajorizationLayout(RectPtrVector rs, EdgeVector es, RootCluster clusterHierarchy, double idealLength, SWIGTYPE_p_std__valarrayT_double_t eweights, TestConvergence done)
     : this(colaPINVOKE.new_ConstrainedMajorizationLayout__SWIG_1(RectPtrVector.getCPtr(rs), EdgeVector.getCPtr(es), RootCluster.getCPtr(clusterHierarchy), idealLength, SWIGTYPE_p_std__valarrayT_double_t.getCPtr(eweights), TestConvergence.getCPtr(done)), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }