MBNNMatchablePoint.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. #import <CoreLocation/CoreLocation.h>
  4. /** The record represents a raw point which could be matched to the road graph. */
  5. NS_SWIFT_NAME(MatchablePoint)
  6. __attribute__((visibility ("default")))
  7. @interface MBNNMatchablePoint : NSObject
  8. // This class provides custom init which should be called
  9. - (nonnull instancetype)init NS_UNAVAILABLE;
  10. // This class provides custom init which should be called
  11. + (nonnull instancetype)new NS_UNAVAILABLE;
  12. - (nonnull instancetype)initWithId:(nonnull NSString *)id
  13. coordinate:(CLLocationCoordinate2D)coordinate
  14. heading:(nullable NSNumber *)heading;
  15. /** id of the resulting object */
  16. @property (nonatomic, readonly, nonnull, copy) NSString *id;
  17. /** Coordinate of the point to be matched */
  18. @property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
  19. /**
  20. * Optional heading in degrees from the North.
  21. * Describes the direction of riding for the edge where provided point is going to be matched
  22. */
  23. @property (nonatomic, readonly, nullable) NSNumber *heading;
  24. @end