Pipe
类:圆管
Constructor
new Glodon.Bimface.Plugins.Geometry.Pipe(option)
构造圆管对象
Parameters:
| Name | Type | Description |
|---|---|---|
| option | Object | 构造圆管对象的配置项 |
Methods
clone()
复制该圆管对象
Returns:
| Type | Description |
|---|---|
| Glodon.Bimface.Plugins.Geometry.Pipe | pipe 圆管对象 |
dispose()
销毁该圆管对象
getColor()
获取圆管的颜色
Returns:
| Type | Description |
|---|---|
| Glodon.Web.Graphics.Color | 颜色对象 |
getCrossSection()
获取构造圆管的横断面对象
Returns:
| Type | Description |
|---|---|
| Object | 横断面对象 |
getRail()
获取构造圆管的轨道对象
Returns:
| Type | Description |
|---|---|
| Object | 轨道对象 |
setColor(color)
设置圆管的颜色
Parameters:
| Name | Type | Description |
|---|---|---|
| color | Glodon.Web.Graphics.Color | 颜色对象 |
setCrossSection(crossSection)
设置构造圆管的横断面对象
Parameters:
| Name | Type | Description |
|---|---|---|
| crossSection | Object | 横断面对象 |
setRail(rail)
设置轨道对象
Parameters:
| Name | Type | Description |
|---|---|---|
| rail | Object | 轨道对象 |
update()
更新圆管对象的参数配置
← SplineCurve Plane →