高德地图SDK(导航) V11.2.0501

Loading...
Searching...
No Matches
AMapNaviGeometryUtils.h
Go to the documentation of this file.
1//
2// AMapNaviGeometryUtils.h
3// AMapNaviKit
4//
5// Created by eidanlin on 2021/1/27.
6// Copyright © 2021 Amap. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import "AMapNaviCommonObj.h"
11#import "AMapNaviHeaderHandler.h"
12#import "AMapNaviKitMacro.h"
13#import "AMapNaviDefine.h"
14
15NS_ASSUME_NONNULL_BEGIN
16
17@interface AMapNaviGeometryUtils : NSObject
18
19#pragma mark - 公共 Public
20
21+ (double)normalizeDegree:(double)degree;
22
23//计算两个点的距离，内部实现一样
24//Calculate the distance between two points, the internal implementation is the same
25+ (double)calcDistanceBetweenPoint:(AMapNaviPoint *)pointA andPoint:(AMapNaviPoint *)pointB;
26+ (double)distanceBetweenCoordinates:(AMapNaviPoint * )pointA andPoint:(AMapNaviPoint *)pointB;
27
28
29+ (AMapNaviPoint *)stringToNaviPoint:(NSString *)str;
30
31+ (CLLocationCoordinate2D)stringToCoordinate:(NSString *)str;
32
33@end
34
35NS_ASSUME_NONNULL_END
AMapNaviCommonObj.h
AMapNaviHeaderHandler.h
AMapNaviGeometryUtils
Definition AMapNaviGeometryUtils.h:18
AMapNaviPoint
Definition AMapNaviCommonObj.h:614
© 2017 高德信息技术有限公司 版权所有，保留所有权利。