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(); } }
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); }
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(); } }
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 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(); }
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(); }
internal static HandleRef getCPtr(SWIGTYPE_p_std__valarrayT_double_t obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
internal static HandleRef getCPtr(SWIGTYPE_p_std__valarrayT_double_t obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
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; }
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(); }