|
TencentMapSDK_iOS_3D_v6.4.0
|
面覆盖物 更多...
#include <QPolygon.h>
实例方法 | |
| (id) | - initWithWithCoordinates:count: |
| 根据经纬度坐标数据生成闭合多边形 | |
| (id) | - initWithPoints:count: |
| 根据mapPoint数据生成多边形 | |
实例方法 继承自 QMultiPoint | |
| (void) | - getCoordinates:range: |
| 将内部的坐标点数据转化为经纬度坐标并拷贝到coords内存中 | |
类方法 | |
| (QPolygon *) | + polygonWithCoordinates:count: |
| 根据经纬度坐标数据生成闭合多边形 | |
| (QPolygon *) | + polygonWithPoints:count: |
| 根据mapPoint数据生成多边形 | |
属性 | |
| QMapRect | boundingMapRect |
| 区域外接矩形. 此类用于定义一个由多个点组成的闭合多边形, 点与点之间按顺序尾部相连, 第一个点与最后一个点相连 | |
| NSArray< QPolygon * > * | interiorPolygons |
| Polygon内的洞. 多边形洞的数据要求: | |
属性 继承自 QMultiPoint | |
| QMapPoint * | points |
| 坐标点数组 | |
| NSUInteger | pointCount |
| 坐标点个数 | |
属性 继承自 QShape | |
| id | userData |
| 供用户储存自定义数据,SDK本身不使用 | |
属性 继承自 <QOverlay> | |
| QMapRect | boundingMapRect |
| 区域外接矩形 | |
额外继承的成员函数 | |
Protected 属性 继承自 QMultiPoint | |
| package QMapPoint * | _points |
| NSUInteger | _pointCount |
| QMapRect | _boundingRect |
面覆盖物
| - (id) initWithPoints: | (QMapPoint *) | points | |
| count: | (NSUInteger) | count |
根据mapPoint数据生成多边形
| points | mapPoint数据,points对应的内存会拷贝,调用者负责该内存的释放 |
| count | 点的个数 |
| - (id) initWithWithCoordinates: | (CLLocationCoordinate2D *) | coords | |
| count: | (NSUInteger) | count |
根据经纬度坐标数据生成闭合多边形
| coords | 经纬度坐标点数据, coords对应的内存会拷贝, 调用者负责该内存的释放 |
| count | 经纬度坐标点数组个数 |
| + (QPolygon *) polygonWithCoordinates: | (CLLocationCoordinate2D *) | coords | |
| count: | (NSUInteger) | count |
根据经纬度坐标数据生成闭合多边形
| coords | 经纬度坐标点数据, coords对应的内存会拷贝, 调用者负责该内存的释放 |
| count | 经纬度坐标点数组个数 |
根据mapPoint数据生成多边形
| points | mapPoint数据,points对应的内存会拷贝,调用者负责该内存的释放 |
| count | 点的个数 |
|
readwritenonatomiccopy |
Polygon内的洞. 多边形洞的数据要求: