MBNNPointAlongLineLocationReference.h 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. #import <MapboxNavigationNative/MBNNOrientation.h>
  4. #import <MapboxNavigationNative/MBNNSideOfRoad.h>
  5. @class MBNNLocationReferencePoint;
  6. NS_SWIFT_NAME(PointAlongLineLocationReference)
  7. __attribute__((visibility ("default")))
  8. @interface MBNNPointAlongLineLocationReference : NSObject
  9. // This class provides custom init which should be called
  10. - (nonnull instancetype)init NS_UNAVAILABLE;
  11. // This class provides custom init which should be called
  12. + (nonnull instancetype)new NS_UNAVAILABLE;
  13. - (nonnull instancetype)initWithPoints:(nonnull NSArray<MBNNLocationReferencePoint *> *)points
  14. positiveOffset:(double)positiveOffset
  15. orientation:(MBNNOrientation)orientation
  16. sideOfRoad:(MBNNSideOfRoad)sideOfRoad;
  17. /** Contains at least two points */
  18. @property (nonatomic, readonly, nonnull, copy) NSArray<MBNNLocationReferencePoint *> *points;
  19. /** Represents as fraction of length since the beginning, lies in [0, 1) */
  20. @property (nonatomic, readonly) double positiveOffset;
  21. @property (nonatomic, readonly) MBNNOrientation orientation;
  22. @property (nonatomic, readonly) MBNNSideOfRoad sideOfRoad;
  23. @end