ViewshedManager

ViewshedManager

Glodon.Bimface.Analysis.Viewshed.ViewshedManager

Constructor

new Glodon.Bimface.Analysis.Viewshed.ViewshedManager(viewshedManagerConfig)

Parameters:
Name Type Description
viewshedManagerConfig Glodon.Bimface.Analysis.Viewshed.ViewshedManagerConfig

可视域分析管理器配置项

Methods

addViewshed(viewshed)

添加单个可视域对象

Parameters:
Name Type Description
viewshed Glodon.Bimface.Analysis.Viewshed.Viewshed3D

可视域对象

addViewsheds(viewsheds)

添加多个可视域对象

Parameters:
Name Type Description
viewsheds Array

由多个可视域对象组成的数组

clear()

清空管理器内所有可视域对象

getViewshedById(id)

根据ID获取可视域对象

Parameters:
Name Type Description
id String

可视域对象ID

Returns:
Type Description
Glodon.Bimface.Analysis.Viewshed.Viewshed3D

可视域对象

getViewsheds()

获取管理器内所有的可视域对象

Returns:
Type Description
Array

由多个可视域对象组成的数组

hideById(id)

根据ID隐藏某个可视域对象

Parameters:
Name Type Description
id String

可视域对象ID

removeById(id)

根据ID移除某个可视域对象

Parameters:
Name Type Description
id String

可视域对象ID

showById(id)

根据ID显示某个可视域对象

Parameters:
Name Type Description
id String

可视域对象ID

update()

重新绘制可视域对象