示例#1
0
        public static List<wptType> GetTrackFirstSegmentPoints(trkType track)
        {
            if (track.trkseg.Count() < 1)
                return null;

            return track.trkseg[0].trkpt.ToList();
        }
示例#2
0
        public DataAnalyzer(GPXFile file, trkType track)
        {
            TrackPoints = file.GetTrackFirstSegmentPoints(track.name);

            Segments = BuildSegments(TrackPoints);
            Segues = BuildSegues(Segments);
        }
示例#3
0
 public static List<trksegType> GetTrackSegments(trkType track)
 {
     return track.trkseg.ToList();
 }