MBNNSubgraphEdge.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. @class MBXGeometry;
  4. NS_SWIFT_NAME(SubgraphEdge)
  5. __attribute__((visibility ("default")))
  6. @interface MBNNSubgraphEdge : NSObject
  7. // This class provides custom init which should be called
  8. - (nonnull instancetype)init NS_UNAVAILABLE;
  9. // This class provides custom init which should be called
  10. + (nonnull instancetype)new NS_UNAVAILABLE;
  11. - (nonnull instancetype)initWithId:(uint64_t)id
  12. innerEdgeIds:(nonnull NSArray<NSNumber *> *)innerEdgeIds
  13. outerEdgeIds:(nonnull NSArray<NSNumber *> *)outerEdgeIds
  14. shape:(nonnull MBXGeometry *)shape
  15. length:(double)length;
  16. /** Edge id, may be considered as a valid edge id for GraphAccessor */
  17. @property (nonatomic, readonly) uint64_t id;
  18. /** Ids of edges which are before the edge */
  19. @property (nonatomic, readonly, nonnull, copy) NSArray<NSNumber *> *innerEdgeIds;
  20. /** Ids of edges which are after the edge */
  21. @property (nonatomic, readonly, nonnull, copy) NSArray<NSNumber *> *outerEdgeIds;
  22. /** Geometry of the edge */
  23. @property (nonatomic, readonly, nonnull) MBXGeometry *shape;
  24. /** Length of the edge in meters */
  25. @property (nonatomic, readonly) double length;
  26. @end