示例#1
0
        public double IndexDistance(int index)
        {
            double dist = 0.0d;

            for (int i = 0; i < List_Distance.Count; i++)
            {
                dist += List_Distance.GetDouble(i);
            }
            return(dist);
        }
示例#2
0
        public double Length()
        {
            double len = 0.0;

            try
            {
                for (int i = 0; i < List_Distance.Count; i++)
                {
                    len += List_Distance.GetDouble(i);
                }
            }
            catch (Exception ex)
            {
            }
            return(len);
        }