geosolution/math~ElectricShieldModel(options)

地理解决方案数学模型-电子盾,通过模型里的电子盾要素(一个表面具有光效流动效果的半球体),可视化表达需要重点关注的区域,比如隔离区、防护区、危险区等。

Summary

Methods:
addMathCell

添加电子盾要素

removeMathCellById

按id删除

Constructor

new ElectricShieldModel(options)

电子盾模型构造函数

Parameters:
Name Type Description
options Object

可选项

Name Type Description
depthTest Boolean

是否开启深度测试,默认为true

Example
let electricShieldModel=new hmap.geosolution.math.ElectricShieldModel();

Methods

addMathCell(electricShield)

添加电子盾要素

Parameters:
Name Type Description
electricShield module:geosolution/cell~ElectricShield

电子盾要素

Example
electricShieldModel.addMathCell(electricShield);

removeMathCellById(id)

按id删除

Parameters:
Name Type Description
id String