Ejemplo n.º 1
0
 public void createVars(Dim dim, RectPtrVector rs, SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t vars)
 {
     colaPINVOKE.Cluster_createVars(swigCPtr, (int)dim, RectPtrVector.getCPtr(rs), SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t.getCPtr(vars));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public void SetRange(int index, RectPtrVector values)
 {
     colaPINVOKE.RectPtrVector_SetRange(swigCPtr, index, RectPtrVector.getCPtr(values));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 3
0
 public static void removeoverlaps(RectPtrVector rs, SWIGTYPE_p_std__setT_unsigned_int_t arg1)
 {
     colaPINVOKE.removeoverlaps__SWIG_2(RectPtrVector.getCPtr(rs), SWIGTYPE_p_std__setT_unsigned_int_t.getCPtr(arg1));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
 public override void computeBoundary(RectPtrVector rs)
 {
     colaPINVOKE.ConvexCluster_computeBoundary(swigCPtr, RectPtrVector.getCPtr(rs));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 5
0
 public void AddRange(RectPtrVector values)
 {
     colaPINVOKE.RectPtrVector_AddRange(swigCPtr, RectPtrVector.getCPtr(values));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 6
0
 public static void removeoverlaps(RectPtrVector rs)
 {
     colaPINVOKE.removeoverlaps__SWIG_0(RectPtrVector.getCPtr(rs));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 7
0
 public static void generateYConstraints(RectPtrVector rs, SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t vars, SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t cs)
 {
     colaPINVOKE.generateYConstraints(RectPtrVector.getCPtr(rs), SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t.getCPtr(vars), SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t.getCPtr(cs));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 8
0
        public static Rectangle bounds(RectPtrVector rs)
        {
            Rectangle ret = new Rectangle(colaPINVOKE.bounds(RectPtrVector.getCPtr(rs)), true);

            if (colaPINVOKE.SWIGPendingException.Pending)
            {
                throw colaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 9
0
        public double area(RectPtrVector rs)
        {
            double ret = colaPINVOKE.Cluster_area(swigCPtr, RectPtrVector.getCPtr(rs));

            if (colaPINVOKE.SWIGPendingException.Pending)
            {
                throw colaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 10
0
 public void generateTopologyConstraints(Dim k, RectPtrVector rs, SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t vars, SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t cs)
 {
     colaPINVOKE.OrthogonalEdgeConstraint_generateTopologyConstraints(swigCPtr, (int)k, RectPtrVector.getCPtr(rs), SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t.getCPtr(vars), SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t.getCPtr(cs));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 11
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();
     }
 }
Ejemplo n.º 12
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();
     }
 }
Ejemplo n.º 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();
     }
 }
 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();
     }
 }
 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();
     }
 }
Ejemplo n.º 16
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();
     }
 }
Ejemplo n.º 17
0
 public void generateNonOverlapConstraints(Dim dim, SWIGTYPE_p_NonOverlapConstraints nonOverlapConstraints, RectPtrVector rs, SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t vars, SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t cs)
 {
     colaPINVOKE.Cluster_generateNonOverlapConstraints(swigCPtr, (int)dim, SWIGTYPE_p_NonOverlapConstraints.getCPtr(nonOverlapConstraints), RectPtrVector.getCPtr(rs), SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t.getCPtr(vars), SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t.getCPtr(cs));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }