MBNNRouteIntersection.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. #import <CoreLocation/CoreLocation.h>
  4. NS_SWIFT_NAME(RouteIntersection)
  5. __attribute__((visibility ("default")))
  6. @interface MBNNRouteIntersection : NSObject
  7. // This class provides custom init which should be called
  8. - (nonnull instancetype)init NS_UNAVAILABLE;
  9. // This class provides custom init which should be called
  10. + (nonnull instancetype)new NS_UNAVAILABLE;
  11. - (nonnull instancetype)initWithLocation:(CLLocationCoordinate2D)location
  12. geometryIndex:(uint32_t)geometryIndex
  13. segmentIndex:(uint32_t)segmentIndex
  14. legIndex:(uint32_t)legIndex;
  15. /** coordinate of intersection */
  16. @property (nonatomic, readonly) CLLocationCoordinate2D location;
  17. /** index in route's geometry */
  18. @property (nonatomic, readonly) uint32_t geometryIndex;
  19. /** index of corresponding leg's segment */
  20. @property (nonatomic, readonly) uint32_t segmentIndex;
  21. /** index of corresponding leg */
  22. @property (nonatomic, readonly) uint32_t legIndex;
  23. - (BOOL)isEqualToRouteIntersection:(nonnull MBNNRouteIntersection *)other;
  24. @end