Skip to content

Commit

Permalink
up sdk version
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelTychinin committed Jul 29, 2022
1 parent 587be19 commit 3e83d2b
Show file tree
Hide file tree
Showing 107 changed files with 2,400 additions and 52 deletions.
13 changes: 13 additions & 0 deletions Frameworks/Navigine.framework/Headers/NCAnimationType.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// AUTOGENERATED FILE - DO NOT MODIFY!
// This file was generated by Djinni from animation_type.djinni

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger, NCAnimationType)
{
NCAnimationTypeNone,
NCAnimationTypeLinear,
NCAnimationTypeCubic,
NCAnimationTypeQuint,
NCAnimationTypeSine,
};
19 changes: 19 additions & 0 deletions Frameworks/Navigine.framework/Headers/NCAsyncRouteListener.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// AUTOGENERATED FILE - DO NOT MODIFY!
// This file was generated by Djinni from route_manager.djinni

#import "NCExport.h"
#import "NCLocationPoint.h"
#import <Foundation/Foundation.h>
@class NCRoutePath;


NAVIGINE_EXPORT
@protocol NCAsyncRouteListener <NSObject>

- (void)onRouteChanged:(nullable NCRoutePath *)currentPath
pendingPaths:(nonnull NSArray<NCRoutePath *> *)pendingPaths;

- (void)onRouteAdvanced:(float)distance
point:(nonnull NCLocationPoint *)point;

@end
17 changes: 17 additions & 0 deletions Frameworks/Navigine.framework/Headers/NCAsyncRouteManager.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// AUTOGENERATED FILE - DO NOT MODIFY!
// This file was generated by Djinni from route_manager.djinni

#import "NCExport.h"
#import "NCLocationPoint.h"
#import <Foundation/Foundation.h>
@class NCRouteSession;


NAVIGINE_EXPORT
@interface NCAsyncRouteManager : NSObject

- (nullable NCRouteSession *)createRouteSession:(nonnull NSArray<NCLocationPoint *> *)wayPoints;

- (void)cancelRouteSession:(nullable NCRouteSession *)session;

@end
31 changes: 31 additions & 0 deletions Frameworks/Navigine.framework/Headers/NCBeacon.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// AUTOGENERATED FILE - DO NOT MODIFY!
// This file was generated by Djinni from beacon.djinni

#import "NCExport.h"
#import "NCPoint.h"
#import "NCTransmitterStatus.h"
#import <Foundation/Foundation.h>


NAVIGINE_EXPORT
@interface NCBeacon : NSObject

@property (nonatomic, nonnull, readonly) NCPoint * point;

@property (nonatomic, readonly) int32_t locationId;

@property (nonatomic, readonly) int32_t sublocationId;

@property (nonatomic, nonnull, readonly) NSString * name;

@property (nonatomic, readonly) int32_t major;

@property (nonatomic, readonly) int32_t minor;

@property (nonatomic, nonnull, readonly) NSString * uuid;

@property (nonatomic, nullable, readonly) NSNumber * power;

@property (nonatomic, readonly) NCTransmitterStatus status;

@end
19 changes: 19 additions & 0 deletions Frameworks/Navigine.framework/Headers/NCBitmapRegionDecoder.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// AUTOGENERATED FILE - DO NOT MODIFY!
// This file was generated by Djinni from bitmap_region_decoder.djinni

#import "NCExport.h"
#import "NCRectangle.h"
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@class NCBitmapRegionDecoder;


NAVIGINE_EXPORT
@interface NCBitmapRegionDecoder : NSObject

+ (nullable NCBitmapRegionDecoder *)newInstance:(nonnull NSData *)data;

- (nullable UIImage *)decodeRegion:(nonnull NCRectangle *)rect
sampleSize:(int32_t)sampleSize;

@end
19 changes: 19 additions & 0 deletions Frameworks/Navigine.framework/Headers/NCCamera.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// AUTOGENERATED FILE - DO NOT MODIFY!
// This file was generated by Djinni from camera.djinni

#import "NCExport.h"
#import "NCPoint.h"
#import <Foundation/Foundation.h>

NAVIGINE_EXPORT
@interface NCCamera : NSObject
- (nonnull instancetype)initWithPoint:(nonnull NCPoint *)point
zoom:(float)zoom;
+ (nonnull instancetype)cameraWithPoint:(nonnull NCPoint *)point
zoom:(float)zoom;

@property (nonatomic, readonly, nonnull) NCPoint * point;

@property (nonatomic, readonly) float zoom;

@end
22 changes: 22 additions & 0 deletions Frameworks/Navigine.framework/Headers/NCCategory.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// AUTOGENERATED FILE - DO NOT MODIFY!
// This file was generated by Djinni from category.djinni

#import "NCExport.h"
#import <Foundation/Foundation.h>

NAVIGINE_EXPORT
@interface NCCategory : NSObject
- (nonnull instancetype)initWithId:(int32_t)id
name:(nonnull NSString *)name
imageId:(nullable NSString *)imageId;
+ (nonnull instancetype)categoryWithId:(int32_t)id
name:(nonnull NSString *)name
imageId:(nullable NSString *)imageId;

@property (nonatomic, readonly) int32_t id;

@property (nonatomic, readonly, nonnull) NSString * name;

@property (nonatomic, readonly, nullable) NSString * imageId;

@end
27 changes: 27 additions & 0 deletions Frameworks/Navigine.framework/Headers/NCCircleMapObject.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// AUTOGENERATED FILE - DO NOT MODIFY!
// This file was generated by Djinni from circle_map_object.djinni

#import "NCAnimationType.h"
#import "NCExport.h"
#import "NCLocationPoint.h"
#import "NCMapObject.h"
#import <Foundation/Foundation.h>


NAVIGINE_EXPORT
@interface NCCircleMapObject : NCMapObject

- (BOOL)setPosition:(nonnull NCLocationPoint *)point;

- (BOOL)setPositionAnimated:(nonnull NCLocationPoint *)point
duration:(float)duration
type:(NCAnimationType)type;

- (BOOL)setColor:(float)red
green:(float)green
blue:(float)blue
alpha:(float)alpha;

- (BOOL)setRadius:(float)radius;

@end
29 changes: 29 additions & 0 deletions Frameworks/Navigine.framework/Headers/NCEddystone.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// AUTOGENERATED FILE - DO NOT MODIFY!
// This file was generated by Djinni from eddystone.djinni

#import "NCExport.h"
#import "NCPoint.h"
#import "NCTransmitterStatus.h"
#import <Foundation/Foundation.h>


NAVIGINE_EXPORT
@interface NCEddystone : NSObject

@property (nonatomic, nonnull, readonly) NCPoint * point;

@property (nonatomic, readonly) int32_t locationId;

@property (nonatomic, readonly) int32_t sublocationId;

@property (nonatomic, nonnull, readonly) NSString * name;

@property (nonatomic, nonnull, readonly) NSString * namespaceId;

@property (nonatomic, nonnull, readonly) NSString * instanceId;

@property (nonatomic, nullable, readonly) NSNumber * power;

@property (nonatomic, readonly) NCTransmitterStatus status;

@end
14 changes: 14 additions & 0 deletions Frameworks/Navigine.framework/Headers/NCElevationGraph.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// AUTOGENERATED FILE - DO NOT MODIFY!
// This file was generated by Djinni from elevation_graph.djinni

#import "NCExport.h"
#import <Foundation/Foundation.h>
@class NCGraphEdge;


NAVIGINE_EXPORT
@interface NCElevationGraph : NSObject

@property (nonatomic, nonnull, readonly) NSArray<NCGraphEdge *> * edges;

@end
2 changes: 2 additions & 0 deletions Frameworks/Navigine.framework/Headers/NCExport.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#pragma once
#define NAVIGINE_EXPORT __attribute__((visibility("default")))
60 changes: 60 additions & 0 deletions Frameworks/Navigine.framework/Headers/NCGeometryUtils.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
// AUTOGENERATED FILE - DO NOT MODIFY!
// This file was generated by Djinni from geometry.djinni

#import "NCExport.h"
#import "NCGlobalPoint.h"
#import "NCPoint.h"
#import "NCPolygon.h"
#import "NCSegment.h"
#import <Foundation/Foundation.h>


NAVIGINE_EXPORT
@interface NCGeometryUtils : NSObject

/** Get distance between GPS points */
+ (float)distanceBetweenGlobalPoints:(nonnull NCGlobalPoint *)from
to:(nonnull NCGlobalPoint *)to;

/** Get distance between points */
+ (float)distanceBetweenPoints:(nonnull NCPoint *)from
to:(nonnull NCPoint *)to;

/** Get length of segment */
+ (float)segmentLength:(nonnull NCSegment *)segment;

/** Get polygon area */
+ (float)polygonArea:(nonnull NCPolygon *)polygon;

/** Get polygon geometric centre */
+ (nonnull NCPoint *)polygonCenter:(nonnull NCPolygon *)polygon;

/** Checks that polygon contains point */
+ (BOOL)polygonContainsPoint:(nonnull NCPolygon *)polygon
point:(nonnull NCPoint *)point;

/** Get distance from segment to point */
+ (float)segmentPointDistance:(nonnull NCSegment *)segment
point:(nonnull NCPoint *)point;

/** Checks the intersection of two segments */
+ (BOOL)segmentIntersectsSegment:(nonnull NCSegment *)segment1
segment2:(nonnull NCSegment *)segment2;

/** Calculate the intersection point of two segments */
+ (nonnull NCPoint *)segmentIntersectionSegment:(nonnull NCSegment *)segment1
segment2:(nonnull NCSegment *)segment2;

/** Calculate the division ratio of a segment by a given segment(if intersects) */
+ (float)divisionRatioBySegment:(nonnull NCSegment *)segment1
segment2:(nonnull NCSegment *)segment2;

/** Calculate projection point on a segment */
+ (nonnull NCPoint *)getRatioPoint:(nonnull NCSegment *)segment
r:(double)r;

/** Calculate the division ratio of a segment by a given point */
+ (double)getProjectionRatio:(nonnull NCSegment *)segment
point:(nonnull NCPoint *)point;

@end
Loading

0 comments on commit 3e83d2b

Please sign in to comment.