MBNNPartialPolylineDistanceCalculationStrategy.h 1.1 KB

123456789101112131415161718192021222324252627
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. /**
  4. * If we match a polyline partially, it's impossible to calculate distance till
  5. * the end while only some parts are matched. In this case we suggest two options.
  6. */
  7. // NOLINTNEXTLINE(modernize-use-using)
  8. typedef NS_ENUM(NSInteger, MBNNPartialPolylineDistanceCalculationStrategy)
  9. {
  10. /**
  11. * Reports distance till the end of a matched part.
  12. *
  13. * If a new part is matched the distance would be increased.
  14. */
  15. MBNNPartialPolylineDistanceCalculationStrategyOnlyMatched,
  16. /**
  17. * Reports distance till the end of a whole polyline, but absent part is
  18. * calculated by input geometry (partial matching is not supported for
  19. * OpenLR encoded polylines).
  20. *
  21. * If a new part is matched the distance would be corrected depending on the
  22. * accuracy of incoming geometry. More points — less diff in updates.
  23. */
  24. MBNNPartialPolylineDistanceCalculationStrategyByInputGeometry
  25. } NS_SWIFT_NAME(PartialPolylineDistanceCalculationStrategy);