TencentMapSDK_iOS_3D_v6.7.0

QCircle.h
1 //
2 // QCircle.h
3 // QMapKit
4 //
5 // Created by fan on 2017/5/19.
6 // Copyright © 2017年 tencent. All rights reserved.
7 //
8
9 #import "QShape.h"
10 #import "QOverlay.h"
11
15 @interface QCircle : QShape <QOverlay>
16
23 + (QCircle *)circleWithCenterCoordinate:(CLLocationCoordinate2D)coord
24 radius:(double)radius;
25
31 + (QCircle *)circleWithMapRect:(QMapRect)mapRect;
32
39 -(id)initWithWithCenterCoordinate:(CLLocationCoordinate2D)coord radius:(double)radius;
40
44 @property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
45
49 @property (nonatomic, assign) double radius;
50
54 @property (nonatomic, readonly) QMapRect boundingMapRect;
55
56 @end
QCircle::boundingMapRect
QMapRect boundingMapRect
该圆的外接矩形
Definition: QCircle.h:54
QShape
该类为一个抽象类，定义了QShape类的基本属性和行为，不能直接使用，必须子类化之后才能使用
Definition: QShape.h:16
QCircle
该类用于定义一个圆, 通常QCircle是QCircleView中持有的对象
Definition: QCircle.h:15
QOverlay-p
QOverlay:地图覆盖物的基类，所有地图的覆盖物需要继承自此类
Definition: QOverlay.h:15
QMapRect
平面投影矩形结构定义
Definition: QGeometry.h:92
QCircle::radius
double radius
半径，单位：米
Definition: QCircle.h:49
QCircle::coordinate
CLLocationCoordinate2D coordinate
中心坐标
Definition: QCircle.h:44