MBNNEdgeAdasAttributes.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. @class MBNNSpeedLimitInfo;
  4. @class MBNNValueOnEdge;
  5. NS_SWIFT_NAME(EdgeAdasAttributes)
  6. __attribute__((visibility ("default")))
  7. @interface MBNNEdgeAdasAttributes : 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)initWithSpeedLimit:(nonnull NSArray<MBNNSpeedLimitInfo *> *)speedLimit
  13. slopes:(nonnull NSArray<MBNNValueOnEdge *> *)slopes
  14. curvatures:(nonnull NSArray<MBNNValueOnEdge *> *)curvatures;
  15. /**
  16. * List of speed limits on the edge.
  17. * Empty means no speed-limit data for the edge.
  18. * Multiple values will have different conditions.
  19. */
  20. @property (nonatomic, readonly, nonnull, copy) NSArray<MBNNSpeedLimitInfo *> *speedLimit;
  21. /**
  22. * List of slope values with their positions on the edge.
  23. * Position is a shape index, where integer part in an index of geometry segment is
  24. * and fractional part is a position on the segment.
  25. */
  26. @property (nonatomic, readonly, nonnull, copy) NSArray<MBNNValueOnEdge *> *slopes;
  27. /**
  28. * List of curvature values with their positions on the edge.
  29. * Position is a shape index, where integer part in an index of geometry segment is
  30. * and fractional part is a position on the segment.
  31. */
  32. @property (nonatomic, readonly, nonnull, copy) NSArray<MBNNValueOnEdge *> *curvatures;
  33. - (BOOL)isEqualToEdgeAdasAttributes:(nonnull MBNNEdgeAdasAttributes *)other;
  34. @end