TencentNavKit

TNKMathTool.h
Go to the documentation of this file.
1//
2// TNKMathTool.h
3// TencentNavKit
4//
5// Created by xue on 2018/5/3.
6// Copyright © 2018年 Tencent. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import <CoreLocation/CoreLocation.h>
11#import <QMapKit/QGeometry.h>
12
13@class TNKCoordinatePoint;
14
18@interface TNKMathTool : NSObject
19
25+ (double)distanceBetweenCoordinate:(CLLocationCoordinate2D)coordinate1
26 coordinate:(CLLocationCoordinate2D)coordinate2;
27
32+ (QMapRect)mapRectFitsPoints:(NSArray<TNKCoordinatePoint *> *)points;
33
34// 获取Rect
35+ (QMapRect)mapRectFitsTwoCoordinates:(CLLocationCoordinate2D)coordinate1
36 coordinate:(CLLocationCoordinate2D)coordinate2;
37@end
TNKCoordinatePoint
经纬度类
Definition: TNKCommonObj.h:42
TNKMathTool
数学库类
Definition: TNKMathTool.h:19