MBNNMatchableGeometry.h 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. #import <CoreLocation/CoreLocation.h>
  4. /**
  5. * The record represents the raw data which could be matched to the road graph.
  6. * Might be used to match:
  7. * - gantries, with exactly two coordinates
  8. * - lines, with two or more coordinates
  9. * - polygons, with three or more coordinates
  10. */
  11. NS_SWIFT_NAME(MatchableGeometry)
  12. __attribute__((visibility ("default")))
  13. @interface MBNNMatchableGeometry : NSObject
  14. // This class provides custom init which should be called
  15. - (nonnull instancetype)init NS_UNAVAILABLE;
  16. // This class provides custom init which should be called
  17. + (nonnull instancetype)new NS_UNAVAILABLE;
  18. - (nonnull instancetype)initWithId:(nonnull NSString *)id
  19. coordinates:(nonnull NSArray<CLLocation *> *)coordinates;
  20. /** id of the resulting object */
  21. @property (nonatomic, readonly, nonnull, copy) NSString *id;
  22. /** Coordinates to be matched */
  23. @property (nonatomic, readonly, nonnull, copy) NSArray<CLLocation *> *coordinates;
  24. @end