public GPSPoint(Path p) { Altitude = p.Altitude; Distance = 0; Latitude = p.Latitude; Longitude = p.Longitude; Timestamp = p.Timestamp; }
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; }