MBNNPOIWithAccessPointLocationReference.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. #import <CoreLocation/CoreLocation.h>
  4. #import <MapboxNavigationNative/MBNNOrientation.h>
  5. #import <MapboxNavigationNative/MBNNSideOfRoad.h>
  6. @class MBNNLocationReferencePoint;
  7. /** Represents a coordinate (POI) which has an access point being lied on a line. */
  8. NS_SWIFT_NAME(POIWithAccessPointLocationReference)
  9. __attribute__((visibility ("default")))
  10. @interface MBNNPOIWithAccessPointLocationReference : NSObject
  11. // This class provides custom init which should be called
  12. - (nonnull instancetype)init NS_UNAVAILABLE;
  13. // This class provides custom init which should be called
  14. + (nonnull instancetype)new NS_UNAVAILABLE;
  15. - (nonnull instancetype)initWithPoints:(nonnull NSArray<MBNNLocationReferencePoint *> *)points
  16. positiveOffset:(double)positiveOffset
  17. coord:(CLLocationCoordinate2D)coord
  18. orientation:(MBNNOrientation)orientation
  19. sideOfRoad:(MBNNSideOfRoad)sideOfRoad;
  20. /** List of points which describe the line */
  21. @property (nonatomic, readonly, nonnull, copy) NSArray<MBNNLocationReferencePoint *> *points;
  22. /** Represented as fraction of length since the begining, lies on [0, 1) */
  23. @property (nonatomic, readonly) double positiveOffset;
  24. /** Coordinate of POI */
  25. @property (nonatomic, readonly) CLLocationCoordinate2D coord;
  26. @property (nonatomic, readonly) MBNNOrientation orientation;
  27. @property (nonatomic, readonly) MBNNSideOfRoad sideOfRoad;
  28. @end