TSClipPlane

平面裁剪封装类

new Cesium.TSClipPlane(viewer)

Name Type Description
viewer * 需要传入
options.ClipPlaneShow * 可选,平面显隐
options.clipPlaneScale * 可选,平面的缩放系数

Methods

clear()

清除

destroy()

销毁

setClipPlane(degree, layerNames)

Name Type Description
degree * 需要传入,经纬度高程 { lng: num, lat: num, alt: num }
layerNames * 需要传入,剪裁的图层名称数组 ["BIM", "NewBIM", "新幕墙嵌板"]