SetGravityPointByClusters() 공개 메소드

public SetGravityPointByClusters ( double resox, double resoz ) : void
resox double
resoz double
리턴 void
예제 #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);
                }
            }
        }
예제 #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);
                }
            }
        }