单军华
2017-07-12 20d1260d26b028897f3c0935c12fc35aa37b2e93
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
 *  BMKMultiPoint.h
 *  BMapKit
 *
 *  Copyright 2011 Baidu Inc. All rights reserved.
 *
 */
 
#import <Foundation/Foundation.h>
#import <BaiduMapAPI_Base/BMKTypes.h>
#import "BMKShape.h"
 
/// 该类定义多个点,是个由多个点组成的虚基类, 不能直接实例化对象, 要使用其子类BMKPolyline,BMKPolygon来实例化
@interface BMKMultiPoint : BMKShape {
@package
    BMKMapPoint *_points;
    NSUInteger _pointCount;
    
    BMKMapRect _boundingRect;
}
 
/// 坐标点数组
@property (nonatomic, readonly) BMKMapPoint *points;
 
/// 坐标点的个数
@property (nonatomic, readonly) NSUInteger pointCount;
 
/**
 *将内部的直角坐标数据转换为经纬度坐标点数据,并拷贝到指定的数组中
 *@param coords 经纬度坐标数组,转换后的坐标将存储到该数组中,该数组长度必须大于等于要拷贝的坐标点的个数(range.length)
 *@param range 指定要拷贝的数据段 
 */
- (void)getCoordinates:(CLLocationCoordinate2D *)coords range:(NSRange)range;
 
@end