Constructor
new Glodon.Bimface.Plugins.Section.SectionRegion(options)
Parameters:
| Name | Type | Description |
|---|---|---|
| options | Glodon.Bimface.Plugins.Section.SectionRegionConfig | 剖切区域的配置项 |
Methods
changeClipDirection(isReverse)
变更剖切方向
Parameters:
| Name | Type | Description |
|---|---|---|
| isReverse | boolean | 剖切方向 |
exit()
退出剖切区域
getBoundary()
获取剖切区域的平面边界
Returns:
| Type | Description |
|---|---|
| Array |
剖切区域的平面边界点集合 |
getHeight()
获取剖切区域的高度
Returns:
| Type | Description |
|---|---|
| Number |
剖切区域的高度 |
hide()
隐藏剖切区域对象
setBoundary(boundary)
设置剖切区域的平面边界
Parameters:
| Name | Type | Description |
|---|---|---|
| boundary | Array | 剖切区域的平面边界 |
setHeight(height)
设置剖切区域的高度
Parameters:
| Name | Type | Description |
|---|---|---|
| height | Number | 剖切区域的高度 |
show()
显示剖切区域对象