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); }
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); }