MBNNClosedLineLocationReference.h 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. @class MBNNLineAttributes;
  4. @class MBNNLocationReferencePoint;
  5. /**
  6. * Circle defined by a sequence of lines. Each reference point contains
  7. * information about the line which goes out of it, but attributes of the line
  8. * between the last reference point and the first one are defined separately in
  9. * `lastLine`.
  10. */
  11. NS_SWIFT_NAME(ClosedLineLocationReference)
  12. __attribute__((visibility ("default")))
  13. @interface MBNNClosedLineLocationReference : 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)initWithPoints:(nonnull NSArray<MBNNLocationReferencePoint *> *)points
  19. lastLine:(nonnull MBNNLineAttributes *)lastLine;
  20. @property (nonatomic, readonly, nonnull, copy) NSArray<MBNNLocationReferencePoint *> *points;
  21. /** Attributes of the line between the last and the first reference points. */
  22. @property (nonatomic, readonly, nonnull) MBNNLineAttributes *lastLine;
  23. @end