コード例 #1
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();
     }
 }
コード例 #2
0
 public ConstrainedMajorizationLayout(RectPtrVector rs, EdgeVector es, RootCluster clusterHierarchy, double idealLength, SWIGTYPE_p_std__valarrayT_double_t eweights) : this(colaPINVOKE.new_ConstrainedMajorizationLayout__SWIG_2(RectPtrVector.getCPtr(rs), EdgeVector.getCPtr(es), RootCluster.getCPtr(clusterHierarchy), idealLength, SWIGTYPE_p_std__valarrayT_double_t.getCPtr(eweights)), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #3
0
 public static void removeClusterOverlapFast(RootCluster clusterHierarchy, RectPtrVector rs, ColaLocks locks)
 {
     colaPINVOKE.removeClusterOverlapFast(RootCluster.getCPtr(clusterHierarchy), RectPtrVector.getCPtr(rs), ColaLocks.getCPtr(locks));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #4
0
 internal static HandleRef getCPtr(RootCluster obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
コード例 #5
0
 internal static HandleRef getCPtr(RootCluster obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #6
0
ファイル: cola.cs プロジェクト: amolenaar/adaptagrams
 public static void removeClusterOverlapFast(RootCluster clusterHierarchy, RectPtrVector rs, ColaLocks locks)
 {
     colaPINVOKE.removeClusterOverlapFast(RootCluster.getCPtr(clusterHierarchy), RectPtrVector.getCPtr(rs), ColaLocks.getCPtr(locks));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #7
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();
 }
コード例 #8
0
 public ConstrainedMajorizationLayout(RectPtrVector rs, EdgeVector es, RootCluster clusterHierarchy, double idealLength, SWIGTYPE_p_std__valarrayT_double_t eweights)
     : this(colaPINVOKE.new_ConstrainedMajorizationLayout__SWIG_2(RectPtrVector.getCPtr(rs), EdgeVector.getCPtr(es), RootCluster.getCPtr(clusterHierarchy), idealLength, SWIGTYPE_p_std__valarrayT_double_t.getCPtr(eweights)), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }