new FloodByEntityEx(viewer, optionsopt)
用Polygon来模拟淹没分析效果的类
Parameters:
Name | Type | Attributes | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
viewer |
Viewer | 要分析的场景对象 |
||||||||||||||||||||||||||||||||||||||||||||||||||||
options |
Object |
<optional> |
带有以下属性的对象: Properties
|
Methods
clear()
清除淹没效果
destroy()
销毁对象
setOptions(options)
设置底高,顶高, 速度
Parameters:
Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
Properties
|
start(resetopt)
开始模拟
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
reset |
Boolean |
<optional> |
true
|
是否清空以前的结果,重新模拟 |
stop()
暂停,停止