Constructor
new SectionPlane(options)
Parameters:
Name | Type | Description |
---|---|---|
options |
Glodon.Bimface.Plugins.Section.SectionPlaneConfig | 配置参数 |
Methods
getDirection() → {Glodon.Bimface.Plugins.Section.SectionPlaneDirection}
获取剖切方向
Returns:
Type | Description |
---|---|
Glodon.Bimface.Plugins.Section.SectionPlaneDirection |
方向 |
getProgress()
获取剖切位置
hidePlane()
隐藏平面
reset()
重置
setDirection(direction)
设置剖切方向
Parameters:
Name | Type | Description |
---|---|---|
direction |
Glodon.Bimface.Plugins.Section.SectionPlaneDirection | 方向 |
setProgress(progress)
设置剖切位置 [0,100]
Parameters:
Name | Type | Description |
---|---|---|
progress |
number | 位置 |
showPlane()
显示平面