Class TcxDocument.TcxTrackpoint
- Namespace
- Tudormobile.Strava.Documents
- Assembly
- Tudormobile.Strava.dll
Represents a trackpoint in a lap, containing timestamp, position, altitude, distance, and heart rate data.
public class TcxDocument.TcxTrackpoint : XmlDocumentBase.XmlDocumentElement
- Inheritance
-
TcxDocument.TcxTrackpoint
- Inherited Members
Constructors
TcxTrackpoint(XElement)
Initializes a new instance of the TcxDocument.TcxTrackpoint class.
public TcxTrackpoint(XElement element)
Parameters
elementXElementThe XML element representing the trackpoint.
Properties
AltitudeMeters
Gets the altitude of the trackpoint in meters above sea level.
public double AltitudeMeters { get; }
Property Value
DistanceMeters
Gets the cumulative distance traveled up to this trackpoint in meters.
public double DistanceMeters { get; }
Property Value
HeartRateBpm
Gets the heart rate in beats per minute (BPM) at this trackpoint.
public double HeartRateBpm { get; }
Property Value
Position
Gets the geographic position of the trackpoint as a tuple of latitude and longitude in decimal degrees.
public (double lat, double lon) Position { get; }
Property Value
Time
Gets the timestamp when the trackpoint was recorded.
public DateTime Time { get; }