单军华
2018-07-11 a8297afeff989f07a0d54dadfec7b34799a9c5dd
screendisplay/Pods/BaiduMapKit/BaiduMapKit/BaiduMapAPI_Map.framework/Headers/BMKPolygon.h
New file
@@ -0,0 +1,48 @@
/*
 *  BMKPolygon.h
 *  BMapKit
 *
 *  Copyright 2011 Baidu Inc. All rights reserved.
 *
 */
#import <Foundation/Foundation.h>
#import "BMKMultiPoint.h"
#import "BMKOverlay.h"
/// 此类用于定义一个多边形区域
@interface BMKPolygon : BMKMultiPoint <BMKOverlay>
/**
 *根据多个点生成多边形
 *@param points 直角坐标点数组,这些点将被拷贝到生成的多边形对象中
 *@param count 点的个数
 *@return 新生成的多边形对象
 */
+ (BMKPolygon *)polygonWithPoints:(BMKMapPoint *)points count:(NSUInteger)count;
/**
 *根据多个点生成多边形
 *@param coords 经纬度坐标点数组,这些点将被拷贝到生成的多边形对象中
 *@param count 点的个数
 *@return 新生成的多边形对象
 */
+ (BMKPolygon *)polygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
/**
 *重新设置多边形顶点
 *@param points 指定的直角坐标点数组
 *@param count 坐标点的个数
 *@return 是否设置成功
 */
- (BOOL)setPolygonWithPoints:(BMKMapPoint *)points count:(NSInteger) count;
/**
 *重新设置多边形顶点
 *@param coords 指定的经纬度坐标点数组
 *@param count 坐标点的个数
 *@return 是否设置成功
 */
- (BOOL)setPolygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSInteger) count;
@end