Esempio n. 1
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();
     }
 }
Esempio n. 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();
     }
 }
 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();
     }
 }
 public void setStickyNodes(double stickyWeight, SWIGTYPE_p_std__valarrayT_double_t startX, SWIGTYPE_p_std__valarrayT_double_t startY)
 {
     colaPINVOKE.ConstrainedMajorizationLayout_setStickyNodes(swigCPtr, stickyWeight, SWIGTYPE_p_std__valarrayT_double_t.getCPtr(startX), SWIGTYPE_p_std__valarrayT_double_t.getCPtr(startY));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 5
0
        public virtual bool testoperator(double new_stress, SWIGTYPE_p_std__valarrayT_double_t X, SWIGTYPE_p_std__valarrayT_double_t Y)
        {
            bool ret = colaPINVOKE.TestConvergence_testoperator(swigCPtr, new_stress, SWIGTYPE_p_std__valarrayT_double_t.getCPtr(X), SWIGTYPE_p_std__valarrayT_double_t.getCPtr(Y));

            if (colaPINVOKE.SWIGPendingException.Pending)
            {
                throw colaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }