Skip to content

Commit 3e83d2b

Browse files
committed
up sdk version
1 parent 587be19 commit 3e83d2b

File tree

107 files changed

+2400
-52
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+2400
-52
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// AUTOGENERATED FILE - DO NOT MODIFY!
2+
// This file was generated by Djinni from animation_type.djinni
3+
4+
#import <Foundation/Foundation.h>
5+
6+
typedef NS_ENUM(NSInteger, NCAnimationType)
7+
{
8+
NCAnimationTypeNone,
9+
NCAnimationTypeLinear,
10+
NCAnimationTypeCubic,
11+
NCAnimationTypeQuint,
12+
NCAnimationTypeSine,
13+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// AUTOGENERATED FILE - DO NOT MODIFY!
2+
// This file was generated by Djinni from route_manager.djinni
3+
4+
#import "NCExport.h"
5+
#import "NCLocationPoint.h"
6+
#import <Foundation/Foundation.h>
7+
@class NCRoutePath;
8+
9+
10+
NAVIGINE_EXPORT
11+
@protocol NCAsyncRouteListener <NSObject>
12+
13+
- (void)onRouteChanged:(nullable NCRoutePath *)currentPath
14+
pendingPaths:(nonnull NSArray<NCRoutePath *> *)pendingPaths;
15+
16+
- (void)onRouteAdvanced:(float)distance
17+
point:(nonnull NCLocationPoint *)point;
18+
19+
@end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// AUTOGENERATED FILE - DO NOT MODIFY!
2+
// This file was generated by Djinni from route_manager.djinni
3+
4+
#import "NCExport.h"
5+
#import "NCLocationPoint.h"
6+
#import <Foundation/Foundation.h>
7+
@class NCRouteSession;
8+
9+
10+
NAVIGINE_EXPORT
11+
@interface NCAsyncRouteManager : NSObject
12+
13+
- (nullable NCRouteSession *)createRouteSession:(nonnull NSArray<NCLocationPoint *> *)wayPoints;
14+
15+
- (void)cancelRouteSession:(nullable NCRouteSession *)session;
16+
17+
@end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
// AUTOGENERATED FILE - DO NOT MODIFY!
2+
// This file was generated by Djinni from beacon.djinni
3+
4+
#import "NCExport.h"
5+
#import "NCPoint.h"
6+
#import "NCTransmitterStatus.h"
7+
#import <Foundation/Foundation.h>
8+
9+
10+
NAVIGINE_EXPORT
11+
@interface NCBeacon : NSObject
12+
13+
@property (nonatomic, nonnull, readonly) NCPoint * point;
14+
15+
@property (nonatomic, readonly) int32_t locationId;
16+
17+
@property (nonatomic, readonly) int32_t sublocationId;
18+
19+
@property (nonatomic, nonnull, readonly) NSString * name;
20+
21+
@property (nonatomic, readonly) int32_t major;
22+
23+
@property (nonatomic, readonly) int32_t minor;
24+
25+
@property (nonatomic, nonnull, readonly) NSString * uuid;
26+
27+
@property (nonatomic, nullable, readonly) NSNumber * power;
28+
29+
@property (nonatomic, readonly) NCTransmitterStatus status;
30+
31+
@end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// AUTOGENERATED FILE - DO NOT MODIFY!
2+
// This file was generated by Djinni from bitmap_region_decoder.djinni
3+
4+
#import "NCExport.h"
5+
#import "NCRectangle.h"
6+
#import <Foundation/Foundation.h>
7+
#import <UIKit/UIKit.h>
8+
@class NCBitmapRegionDecoder;
9+
10+
11+
NAVIGINE_EXPORT
12+
@interface NCBitmapRegionDecoder : NSObject
13+
14+
+ (nullable NCBitmapRegionDecoder *)newInstance:(nonnull NSData *)data;
15+
16+
- (nullable UIImage *)decodeRegion:(nonnull NCRectangle *)rect
17+
sampleSize:(int32_t)sampleSize;
18+
19+
@end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// AUTOGENERATED FILE - DO NOT MODIFY!
2+
// This file was generated by Djinni from camera.djinni
3+
4+
#import "NCExport.h"
5+
#import "NCPoint.h"
6+
#import <Foundation/Foundation.h>
7+
8+
NAVIGINE_EXPORT
9+
@interface NCCamera : NSObject
10+
- (nonnull instancetype)initWithPoint:(nonnull NCPoint *)point
11+
zoom:(float)zoom;
12+
+ (nonnull instancetype)cameraWithPoint:(nonnull NCPoint *)point
13+
zoom:(float)zoom;
14+
15+
@property (nonatomic, readonly, nonnull) NCPoint * point;
16+
17+
@property (nonatomic, readonly) float zoom;
18+
19+
@end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// AUTOGENERATED FILE - DO NOT MODIFY!
2+
// This file was generated by Djinni from category.djinni
3+
4+
#import "NCExport.h"
5+
#import <Foundation/Foundation.h>
6+
7+
NAVIGINE_EXPORT
8+
@interface NCCategory : NSObject
9+
- (nonnull instancetype)initWithId:(int32_t)id
10+
name:(nonnull NSString *)name
11+
imageId:(nullable NSString *)imageId;
12+
+ (nonnull instancetype)categoryWithId:(int32_t)id
13+
name:(nonnull NSString *)name
14+
imageId:(nullable NSString *)imageId;
15+
16+
@property (nonatomic, readonly) int32_t id;
17+
18+
@property (nonatomic, readonly, nonnull) NSString * name;
19+
20+
@property (nonatomic, readonly, nullable) NSString * imageId;
21+
22+
@end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// AUTOGENERATED FILE - DO NOT MODIFY!
2+
// This file was generated by Djinni from circle_map_object.djinni
3+
4+
#import "NCAnimationType.h"
5+
#import "NCExport.h"
6+
#import "NCLocationPoint.h"
7+
#import "NCMapObject.h"
8+
#import <Foundation/Foundation.h>
9+
10+
11+
NAVIGINE_EXPORT
12+
@interface NCCircleMapObject : NCMapObject
13+
14+
- (BOOL)setPosition:(nonnull NCLocationPoint *)point;
15+
16+
- (BOOL)setPositionAnimated:(nonnull NCLocationPoint *)point
17+
duration:(float)duration
18+
type:(NCAnimationType)type;
19+
20+
- (BOOL)setColor:(float)red
21+
green:(float)green
22+
blue:(float)blue
23+
alpha:(float)alpha;
24+
25+
- (BOOL)setRadius:(float)radius;
26+
27+
@end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// AUTOGENERATED FILE - DO NOT MODIFY!
2+
// This file was generated by Djinni from eddystone.djinni
3+
4+
#import "NCExport.h"
5+
#import "NCPoint.h"
6+
#import "NCTransmitterStatus.h"
7+
#import <Foundation/Foundation.h>
8+
9+
10+
NAVIGINE_EXPORT
11+
@interface NCEddystone : NSObject
12+
13+
@property (nonatomic, nonnull, readonly) NCPoint * point;
14+
15+
@property (nonatomic, readonly) int32_t locationId;
16+
17+
@property (nonatomic, readonly) int32_t sublocationId;
18+
19+
@property (nonatomic, nonnull, readonly) NSString * name;
20+
21+
@property (nonatomic, nonnull, readonly) NSString * namespaceId;
22+
23+
@property (nonatomic, nonnull, readonly) NSString * instanceId;
24+
25+
@property (nonatomic, nullable, readonly) NSNumber * power;
26+
27+
@property (nonatomic, readonly) NCTransmitterStatus status;
28+
29+
@end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// AUTOGENERATED FILE - DO NOT MODIFY!
2+
// This file was generated by Djinni from elevation_graph.djinni
3+
4+
#import "NCExport.h"
5+
#import <Foundation/Foundation.h>
6+
@class NCGraphEdge;
7+
8+
9+
NAVIGINE_EXPORT
10+
@interface NCElevationGraph : NSObject
11+
12+
@property (nonatomic, nonnull, readonly) NSArray<NCGraphEdge *> * edges;
13+
14+
@end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#pragma once
2+
#define NAVIGINE_EXPORT __attribute__((visibility("default")))
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
// AUTOGENERATED FILE - DO NOT MODIFY!
2+
// This file was generated by Djinni from geometry.djinni
3+
4+
#import "NCExport.h"
5+
#import "NCGlobalPoint.h"
6+
#import "NCPoint.h"
7+
#import "NCPolygon.h"
8+
#import "NCSegment.h"
9+
#import <Foundation/Foundation.h>
10+
11+
12+
NAVIGINE_EXPORT
13+
@interface NCGeometryUtils : NSObject
14+
15+
/** Get distance between GPS points */
16+
+ (float)distanceBetweenGlobalPoints:(nonnull NCGlobalPoint *)from
17+
to:(nonnull NCGlobalPoint *)to;
18+
19+
/** Get distance between points */
20+
+ (float)distanceBetweenPoints:(nonnull NCPoint *)from
21+
to:(nonnull NCPoint *)to;
22+
23+
/** Get length of segment */
24+
+ (float)segmentLength:(nonnull NCSegment *)segment;
25+
26+
/** Get polygon area */
27+
+ (float)polygonArea:(nonnull NCPolygon *)polygon;
28+
29+
/** Get polygon geometric centre */
30+
+ (nonnull NCPoint *)polygonCenter:(nonnull NCPolygon *)polygon;
31+
32+
/** Checks that polygon contains point */
33+
+ (BOOL)polygonContainsPoint:(nonnull NCPolygon *)polygon
34+
point:(nonnull NCPoint *)point;
35+
36+
/** Get distance from segment to point */
37+
+ (float)segmentPointDistance:(nonnull NCSegment *)segment
38+
point:(nonnull NCPoint *)point;
39+
40+
/** Checks the intersection of two segments */
41+
+ (BOOL)segmentIntersectsSegment:(nonnull NCSegment *)segment1
42+
segment2:(nonnull NCSegment *)segment2;
43+
44+
/** Calculate the intersection point of two segments */
45+
+ (nonnull NCPoint *)segmentIntersectionSegment:(nonnull NCSegment *)segment1
46+
segment2:(nonnull NCSegment *)segment2;
47+
48+
/** Calculate the division ratio of a segment by a given segment(if intersects) */
49+
+ (float)divisionRatioBySegment:(nonnull NCSegment *)segment1
50+
segment2:(nonnull NCSegment *)segment2;
51+
52+
/** Calculate projection point on a segment */
53+
+ (nonnull NCPoint *)getRatioPoint:(nonnull NCSegment *)segment
54+
r:(double)r;
55+
56+
/** Calculate the division ratio of a segment by a given point */
57+
+ (double)getProjectionRatio:(nonnull NCSegment *)segment
58+
point:(nonnull NCPoint *)point;
59+
60+
@end

0 commit comments

Comments
 (0)