Table of Contents

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

activityElement XElement

The XML element representing the lap.

Properties

DistanceMeters

Gets the total distance covered in the lap in meters.

public double DistanceMeters { get; }

Property Value

double

MaximumSpeed

Gets the maximum speed achieved during the lap in meters per second.

public double MaximumSpeed { get; }

Property Value

double

StartTime

Gets the start time of the lap.

public DateTime StartTime { get; }

Property Value

DateTime

TotalTimeSeconds

Gets the total elapsed time of the lap in seconds.

public double TotalTimeSeconds { get; }

Property Value

double

Tracks

Gets the collection of trackpoints (recorded positions) in the lap.

public IEnumerable<TcxDocument.TcxTrackpoint> Tracks { get; }

Property Value

IEnumerable<TcxDocument.TcxTrackpoint>