/// <summary> /// calculate metrics from Gpx File /// </summary> public void Analyse() { while (gpxReader.Read()) { } foreach (var point in Points) { PosHeightDif += GetPositiveHeightDif(point); NegHeightDif += GetNegativeHeightDif(point); } }
/// <summary> /// calculate metrics from Gpx File /// </summary> public void Analyse() { while (gpxReader.Read()) { } Points.CalculateDistanceFromStart(); for (int i = 1; i < Points.Count; i++) { PosHeightDif += GetPositiveHeightDif(Points[i]); NegHeightDif += GetNegativeHeightDif(Points[i]); } TrackTypeAnalysis(); }