BaiduMap_IOSSDK_v6.6.6_Docs 6.6.6

载入中...
搜索中...
未找到
BMKPrismOverlay.h
浏览该文件的文档.
1//
2// BMKPrismOverlay.h
3// MapComponent
4//
5// Created by zhangbaojin on 2021/4/19.
6// Copyright © 2021 Baidu. All rights reserved.
7//
8
9#import "BMKMultiPoint.h"
10#import "BMKOverlay.h"
11
12@class BMKBuildInfo;
13
14NS_ASSUME_NONNULL_BEGIN
16@interface BMKPrismOverlay : BMKMultiPoint<BMKOverlay>
17
19@property (nonatomic, assign) float height;
20
25+ (nullable instancetype)prismOverlayWithPoints:(BMKMapPoint *)points count:(NSUInteger)count;
26
31+ (nullable instancetype)prismOverlayWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
32
37- (BOOL)setPrismOverlayWithPoints:(BMKMapPoint *)points count:(NSUInteger)count;
38
43- (BOOL)setPrismOverlayWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
44
45@end
46
47
48#pragma mark - 绘制地图建筑物
49@interface BMKPrismOverlay (BuildingAPI)
50
52@property (nonatomic, strong) BMKBuildInfo *buildInfo;
53
55@property (nonatomic, assign) float floorHeight;
56
57@end
58
59NS_ASSUME_NONNULL_END
BMKMultiPoint.h
BMKOverlay.h
BMKBuildInfo
Definition BMKTypes.h:443
BMKMultiPoint
该类定义多个点，是个由多个点组成的虚基类, 不能直接实例化对象, 要使用其子类BMKPolyline,BMKPolygon来实例化
Definition BMKMultiPoint.h:18
BMKMultiPoint::points
BMKMapPoint * points
坐标点数组
Definition BMKMultiPoint.h:27
BMKPrismOverlay
此类用于定义一个3D棱柱 since 6.4.0
Definition BMKPrismOverlay.h:16
BMKPrismOverlay::height
float height
高度
Definition BMKPrismOverlay.h:19
BMKOverlay-p
该类是地图覆盖物的基类，所有地图的覆盖物需要继承自此类
Definition BMKOverlay.h:17
BMKMapPoint
地理坐标点，用直角地理坐标表示
Definition BMKTypes.h:222