public static List<wptType> GetTrackFirstSegmentPoints(trkType track) { if (track.trkseg.Count() < 1) return null; return track.trkseg[0].trkpt.ToList(); }
public DataAnalyzer(GPXFile file, trkType track) { TrackPoints = file.GetTrackFirstSegmentPoints(track.name); Segments = BuildSegments(TrackPoints); Segues = BuildSegues(Segments); }
public static List<trksegType> GetTrackSegments(trkType track) { return track.trkseg.ToList(); }