예제 #1
0
 public GPSPoint(Path p)
 {
     Altitude = p.Altitude;
     Distance = 0;
     Latitude = p.Latitude;
     Longitude = p.Longitude;
     Timestamp = p.Timestamp;
 }
예제 #2
0
 public GPSPoint(Path p, Distance d, Path prevP, Distance prevD)
 {
     Altitude = p.Altitude;
     Distance = d.Meters;
     DistanceFromPreviousPoint = d.Meters - prevD.Meters;
     TimestampFromPreviousPoint = d.Timestamp - prevD.Timestamp;
     Latitude = p.Latitude;
     Longitude = p.Longitude;
     Timestamp = p.Timestamp;
 }