CalcRadius() public method

public CalcRadius ( double unit ) : void
unit double
return void
Ejemplo n.º 1
0
        private void SetGravityPointAndRadiusRec(DendriteNode node, DendriteNode parent)
        {
            //重心計算
            node.SetGravityPointByClusters(resox, resoz);

            //突起半径計算
            node.CalcRadius(volunit);

            foreach (DendriteNode next in node.ConnectedNodes)
            {
                if (next != parent)
                {
                    SetGravityPointAndRadiusRec(next, node);
                }
            }
        }
Ejemplo n.º 2
0
        private void SetGravityPointAndRadiusRec(DendriteNode node, DendriteNode parent)
        {
            //重心計算
            node.SetGravityPointByClusters(resox, resoz);

            //突起半径計算
            node.CalcRadius(volunit);

            foreach (DendriteNode next in node.ConnectedNodes)
            {
                if (next != parent)
                {
                    SetGravityPointAndRadiusRec(next, node);
                }
            }
        }