MBNNGraphPath.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. /** Data to define a path on a map graph */
  4. NS_SWIFT_NAME(GraphPath)
  5. __attribute__((visibility ("default")))
  6. @interface MBNNGraphPath : 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)initWithEdges:(nonnull NSArray<NSNumber *> *)edges
  12. percentAlongBegin:(double)percentAlongBegin
  13. percentAlongEnd:(double)percentAlongEnd
  14. length:(double)length;
  15. /** Ids of edges on a road graph */
  16. @property (nonatomic, readonly, nonnull, copy) NSArray<NSNumber *> *edges;
  17. /** Percent along edge shape (0-1) of a path begin point */
  18. @property (nonatomic, readonly) double percentAlongBegin;
  19. /** Percent along edge shape (0-1) of a path end point */
  20. @property (nonatomic, readonly) double percentAlongEnd;
  21. /** Length of a path */
  22. @property (nonatomic, readonly) double length;
  23. @end