MBNNGraphPosition.h 769 B

1234567891011121314151617181920212223242526
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. /** Declares position of an object on the map graph */
  4. NS_SWIFT_NAME(GraphPosition)
  5. __attribute__((visibility ("default")))
  6. @interface MBNNGraphPosition : 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)initWithEdgeId:(uint64_t)edgeId
  12. percentAlong:(double)percentAlong;
  13. /** Edge id in road graph */
  14. @property (nonatomic, readonly) uint64_t edgeId;
  15. /** Position along edge shape [0-1] */
  16. @property (nonatomic, readonly) double percentAlong;
  17. @end