BaiduMap_IOSSDK_v4.2.1_Docs
构造函数 | 类方法 | Protected 属性 | 所有成员列表
BMKArcline类 参考

此类用于定义一段圆弧 更多...

#import <BMKArcline.h>

类 BMKArcline 继承关系图:
BMKMultiPoint BMKShape

构造函数

(BOOL) - setArclineWithPoints:
 
(BOOL) - setArclineWithCoordinates:
 
- 构造函数 继承自 BMKMultiPoint
(void) - getCoordinates:range:
 

类方法

(BMKArcline *) + arclineWithPoints:
 
(BMKArcline *) + arclineWithCoordinates:
 

Protected 属性

BMKMapRect _boundingMapRect
 
bool isYouArc
 
- Protected 属性 继承自 BMKMultiPoint
package BMKMapPoint_points
 
NSUInteger _pointCount
 
BMKMapRect _boundingRect
 

额外继承的成员函数

- 属性 继承自 BMKMultiPoint
BMKMapPointpoints
 坐标点数组
 
NSUInteger pointCount
 坐标点的个数
 
- 属性 继承自 BMKShape
NSString * title
 要显示的标题;注意:如果不设置title,无法点击annotation,也无法使用回调函数;
 
NSString * subtitle
 要显示的副标题
 

详细描述

此类用于定义一段圆弧

函数文档

◆ arclineWithCoordinates:()

+ (BMKArcline *) arclineWithCoordinates: (CLLocationCoordinate2D *)  coords

根据指定经纬度生成一段圆弧

参数
coords指定的经纬度坐标点数组(需传入3个点)
返回
新生成的圆弧对象

◆ arclineWithPoints:()

+ (BMKArcline *) arclineWithPoints: (BMKMapPoint *)  points

根据指定坐标点生成一段圆弧

参数
points指定的直角坐标点数组(需传入3个点)
返回
新生成的圆弧对象

◆ setArclineWithCoordinates:()

- (BOOL) setArclineWithCoordinates: (CLLocationCoordinate2D *)  coords

重新设置圆弧坐标

参数
coords指定的经纬度坐标点数组(需传入3个点)
返回
是否设置成功

◆ setArclineWithPoints:()

- (BOOL) setArclineWithPoints: (BMKMapPoint *)  points

重新设置圆弧坐标

参数
points指定的直角坐标点数组(需传入3个点)
返回
是否设置成功

该类的文档由以下文件生成: