ClimbSectionObject

Objective-C


@interface ClimbSectionObject : NSObject

Swift

class ClimbSectionObject : NSObject

This class encapsulates climb section information.

  • Distance in meters where this section starts.

    Declaration

    Objective-C

    @property (nonatomic) int startDistanceM;

    Swift

    var startDistanceM: Int32 { get set }
  • Distance in meters where this section ends.

    Declaration

    Objective-C

    @property (nonatomic) int endDistanceM;

    Swift

    var endDistanceM: Int32 { get set }
  • Slope value

    Declaration

    Objective-C

    @property (nonatomic) float slope;

    Swift

    var slope: Float { get set }
  • The grade value of the section.

    Declaration

    Objective-C

    @property (nonatomic) ClimbGrade grade;

    Swift

    var grade: ClimbGrade { get set }