MBNNRoadObjectEdgeLocation.h 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. NS_SWIFT_NAME(RoadObjectEdgeLocation)
  4. __attribute__((visibility ("default")))
  5. @interface MBNNRoadObjectEdgeLocation : NSObject
  6. // This class provides custom init which should be called
  7. - (nonnull instancetype)init NS_UNAVAILABLE;
  8. // This class provides custom init which should be called
  9. + (nonnull instancetype)new NS_UNAVAILABLE;
  10. - (nonnull instancetype)initWithPercentAlongBegin:(double)percentAlongBegin
  11. percentAlongEnd:(double)percentAlongEnd;
  12. /**
  13. * offset from the start of edge (0 - 1) pointing to the beginning of road object on this edge
  14. * will be 0 for all edges in the line-like road object except the very first one
  15. * in the case of point-like object percentAlongBegin == percentAlongEnd
  16. */
  17. @property (nonatomic, readonly) double percentAlongBegin;
  18. /**
  19. * offset from the start of edge (0 - 1) pointing to the end of road object on this edge
  20. * will be 1 for all edges in the line-like road object except the very first one
  21. * in the case of point-like object percentAlongBegin == percentAlongEnd
  22. */
  23. @property (nonatomic, readonly) double percentAlongEnd;
  24. @end