Structures
The following structures are available globally.
-
Declaration
Swift
public struct XMLNode : Equatable, Hashable
-
Describes a climb section within a track.
See moreDeclaration
Swift
public struct Climb : Hashable, Sendable
-
Basic type for storing a geo location.
See moreDeclaration
Swift
public struct Coordinate : GeoCoordinate, HeightMappable, Hashable, Sendable
-
A value describing an entry in a
See moreTrackGraph
s height-map. It has the total distance in meters up to that point in the track along with the elevation in meters above sea level at that given point in a track (imagine the distance as the value along the x-axis in a 2D-coordinate graph, the elevation as the y-value).Declaration
Swift
public struct DistanceHeight : Hashable, Sendable
-
A value describing a track of geo locations. It has the recorded
See moreTrackPoint
s, along with metadata of the track, such as recorded date, title, elevation gain, distance, height-map and bounds.Declaration
Swift
public struct GPXTrack : Hashable, Sendable
-
A 2D-bounding box describing the area enclosing a track.
See moreDeclaration
Swift
public struct GeoBounds : Hashable, Codable, Sendable
-
A value describing a grade of a track. A
See moreTrackGraph
has an array ofGradeSegment
from start to its distance each with a given length and the grade at this distance.Declaration
Swift
public struct GradeSegment : Sendable
extension GradeSegment: Equatable
extension GradeSegment: Hashable
-
A value describing a single data point in a
See moreGPXTrack
. ATrackPoint
has the latitude, longitude and elevation data along with meta data such as a timestamp or power values.Declaration
Swift
public struct TrackPoint : Hashable, Sendable
extension TrackPoint: GeoCoordinate
extension TrackPoint: HeightMappable
-
Value type describing a logical segment in a
See moreTrackGraph
. ATrackGraph
consists of a collection ofTrackSegment
s. Each has a coordinate (latitude, longitude & elevation) and the distance (in meters) to its preceding segment point.Declaration
Swift
public struct TrackSegment : Hashable, Sendable