TerrainExcavationSide

new Cesium.TerrainExcavationSide(options)

地形开挖补面对象(开挖深度起算点是从绘制的多边形的最低点作为起算点) 修复边缘墙面无法在地下绘制的bug https://github.com/CesiumGS/cesium/pull/9041
Name Type Description
options Object optional 选项有以下属性
Name Type Default Description
globe Object optional globe对象
boundary Array optional 开挖边界,为Cartesian3数组,单位为世界坐标,坐标不闭合
digdepth Number 10.0 optional 以开挖边界的最低点为基准面定义的下挖深度,默认设置开挖深度为10米
samplecount Number 30 optional 开挖边的分割采样高程点个数,默认30
offsetHeight Number 0.0 optional 高程偏移值
sideImage String 'buildModuleUrl("Assets/Images/DigBody.jpg")' optional 侧面图像地址url
bottomImage String 'buildModuleUrl("Assets/Images/DigBottom.jpg")' optional 底面面图像地址url
Throws:

Methods

创建并添加水平底面图元到globe的_excavaSidePrimitives上
Name Type Description
down
清除
创建开挖区域
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.