Class TcxDocument.TcxActivityLap
- Namespace
- Tudormobile.Strava.Documents
- Assembly
- Tudormobile.Strava.dll
Represents a lap within an activity, containing timing, distance, and trackpoint data.
public class TcxDocument.TcxActivityLap : XmlDocumentBase.XmlDocumentElement
- Inheritance
-
TcxDocument.TcxActivityLap
- Inherited Members
Constructors
TcxActivityLap(XElement)
Initializes a new instance of the TcxDocument.TcxActivityLap class.
public TcxActivityLap(XElement activityElement)
Parameters
activityElementXElementThe XML element representing the lap.
Properties
DistanceMeters
Gets the total distance covered in the lap in meters.
public double DistanceMeters { get; }
Property Value
MaximumSpeed
Gets the maximum speed achieved during the lap in meters per second.
public double MaximumSpeed { get; }
Property Value
StartTime
Gets the start time of the lap.
public DateTime StartTime { get; }
Property Value
TotalTimeSeconds
Gets the total elapsed time of the lap in seconds.
public double TotalTimeSeconds { get; }
Property Value
Tracks
Gets the collection of trackpoints (recorded positions) in the lap.
public IEnumerable<TcxDocument.TcxTrackpoint> Tracks { get; }