MBNNMatchedPolylinePart.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. /**
  4. * Represents information about the matched part of the whole polyline if it is
  5. * being matched partially. Polyline could be considered as fully matched if
  6. * `beginIndex` equals to 0 and `endIndex` equals to `amountOfKeypoints`.
  7. *
  8. * Generally, keypoint in these terms is one of provided for matching
  9. * coordinates. But its amount might not correspond to the input geometry
  10. * amount, too close points are filtering out.
  11. */
  12. NS_SWIFT_NAME(MatchedPolylinePart)
  13. __attribute__((visibility ("default")))
  14. @interface MBNNMatchedPolylinePart : NSObject
  15. // This class provides custom init which should be called
  16. - (nonnull instancetype)init NS_UNAVAILABLE;
  17. // This class provides custom init which should be called
  18. + (nonnull instancetype)new NS_UNAVAILABLE;
  19. - (nonnull instancetype)initWithBeginIndex:(uint32_t)beginIndex
  20. endIndex:(uint32_t)endIndex
  21. amountOfKeypoints:(uint32_t)amountOfKeypoints;
  22. /**
  23. * Begin index of a keypoint in the matched interval (included).
  24. * Currently might be only zero, partial matching works from start to end.
  25. */
  26. @property (nonatomic, readonly) uint32_t beginIndex;
  27. /** End index of a keypoint in the matched interval (not included) */
  28. @property (nonatomic, readonly) uint32_t endIndex;
  29. /** Total amount of keypoints */
  30. @property (nonatomic, readonly) uint32_t amountOfKeypoints;
  31. @end