Exemple #1
0
        private void calcCellDiameter()
        {
            double path_length = 0;

            for (int i = 1; i < _coords.Count; i++)
            {
                path_length += GraphMath.PointLenth(_coords[i - 1], _coords[i]);
            }

            TubeDiameter = path_length / Cells.Count;
        }