SITRouteSegment

@interface SITRouteSegment : NSObject

A continuous segment of a route that contains points of the same floor

  • Constructor

    Declaration

    Objective-C

    - (instancetype _Nonnull)
    initWithFloorIdentifier:(NSString *_Nonnull)floorIdentifier
                 withPoints:(NSArray<SITPoint *> *_Nonnull)points;

    Parameters

    floorIdentifier

    String containing the floor identifier for all of the points in this segment

    points

    Array containing all the points included in this segment

    Return Value

    Initialized instance of the SITRouteSegment object

  • An string containing the floor identifier for all of the points in this segment

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nonnull floorIdentifier;
  • Return the points of the segment

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSArray<SITPoint *> *_Nonnull points;