Class: InsulationOverheadNet

Glodon.CIMCube.Simulation. InsulationOverheadNet

绝缘跨越防护网仿真类 仅用于渲染展示

new InsulationOverheadNet(map, options)

绝缘跨越防护网仿真类
Parameters:
Name Type Description
map Glodon.CIMCube CIMCube实例
options Object 绝缘跨越防护网仿真参数
Properties
Name Type Argument Default Description
startP0 Object 承载索四角起点P0
Properties
Name Type Argument Description
lon number <optional>
经度
lat number <optional>
纬度
height number <optional>
高度
startP1 Object 承载索四角起点P1
Properties
Name Type Argument Description
lon number <optional>
经度
lat number <optional>
纬度
height number <optional>
高度
endP0 Object 承载索四角终点P0
Properties
Name Type Argument Description
lon number <optional>
经度
lat number <optional>
纬度
height number <optional>
高度
endP1 Object 承载索四角终点P1
Properties
Name Type Argument Description
lon number <optional>
经度
lat number <optional>
纬度
height number <optional>
高度
stressCable Object 悬链线承载索 (P0–P0,P1–P1)
Properties
Name Type Argument Default Description
radius number 承载索半径(粗细)
color string 承载索颜色
texture string 承载索漫反射贴图 URL;有默认纹理
textureRepeat Object 平铺倍数,默认 {x:10,y:25}
roughness number <optional>
0.82 粗糙度 0~1,越大越哑光
metallic number <optional>
0.1 金属度 0~1,越大高光分量越强
sag number <optional>
0 承载索弧垂/垂度,默认0
segments number <optional>
40 承载索采样段数
slices number <optional>
16 承载索圆柱圆周细分,默认16
netCableEdgeOffsetStart number <optional>
0.4 封网位置,封网与撑杆沿跨距方向的起始归一化位置 u∈[0,1]
strutCount number <optional>
4 绝缘撑杆数量,均布在 [netCableEdgeOffsetStart, netCableEdgeOffsetEnd] 内;端点落在两侧承载索悬链线折线上
netCableEdgeOffsetEnd number <optional>
0.6 封网位置,封网与撑杆沿跨距方向的终止归一化位置 u∈[0,1]
netSpanCount number <optional>
9 封网宽度内部网绳条数(v 向, 不含两侧承载索边界)
netCrossCount number <optional>
6 横跨跨距的内部网绳条数,两条绝缘撑杆之间(u 向内部, 不含两侧撑杆边)
strut Object 绝缘撑杆
Properties
Name Type Argument Default Description
radius number 绝缘撑杆半径(粗细)
color string 绝缘撑杆颜色,默认黄色 #FFFF00
texture string 绝缘撑杆漫反射贴图 URL;有默认纹理
textureRepeat Object 平铺倍数,默认 {x:1,y:1}
roughness number <optional>
0.82 粗糙度 0~1,越大越哑光
metallic number <optional>
0.45 金属度 0~1,越大高光分量越强
slices number <optional>
16 绝缘撑杆圆柱圆周细分,默认16
netCable Object 绝缘封网绳
Properties
Name Type Argument Default Description
radius number 绝缘封网绳半径(粗细)
color string 绝缘封网颜色
texture string 绝缘封网漫反射贴图 URL;有默认纹理
textureRepeat Object 平铺倍数,默认 {x:1,y:1}
roughness number <optional>
0.85 绝缘封网粗糙度 0~1,越大越哑光
metallic number <optional>
0.35 绝缘封网金属度 0~1,越大高光分量越强
sag number <optional>
0 绝缘封网弧垂/垂度,默认0
segments number <optional>
10 绝缘封网绳采样段数
slices number <optional>
8 绝缘封网圆柱圆周细分,默认8
shadowMode string <optional>
ShadowMode.DISABLED 阴影模式
show boolean <optional>
true 是否显示

Members


showNet :boolean

显示/隐藏绝缘跨越防护网
Type:
  • boolean

Methods


dispose()

销毁绝缘跨越防护网

updateOption(options)

更新端点、弧垂或样式并刷新绝缘跨越防护网
Parameters:
Name Type Description
options Object 绝缘跨越防护网仿真参数
Properties
Name Type Argument Description
stressCable Object 悬链线承载索 (P0–P0,P1–P1)
Properties
Name Type Description
radius number 承载索半径(粗细)
color string 承载索颜色
texture string 承载索漫反射贴图 URL;
textureRepeat Object 平铺倍数
roughness number 粗糙度 0~1,越大越哑光
metallic number 金属度 0~1,越大高光分量越强
sag number 承载索弧垂/垂度
segments number 承载索采样段数
netCableEdgeOffsetStart number <optional>
封网/撑杆跨距起始 u
strutCount number <optional>
绝缘撑杆数量
netCableEdgeOffsetEnd number <optional>
封网/撑杆跨距终止 u
netSpanCount number 封网宽度内部网绳条数
netCrossCount number 横跨跨距的内部网绳条数
strut Object 绝缘撑杆
Properties
Name Type Description
radius number 绝缘撑杆半径(粗细)
color string 绝缘撑杆颜色
texture string 绝缘撑杆漫反射贴图 URL;
textureRepeat Object 平铺倍数
roughness number 粗糙度 0~1,越大越哑光
metallic number 金属度 0~1,越大高光分量越强
netCable Object 绝缘封网绳
Properties
Name Type Description
radius number 绝缘封网绳半径(粗细)
color string 绝缘封网颜色
texture string 绝缘封网漫反射贴图 URL;
textureRepeat Object 平铺倍数
roughness number 绝缘封网粗糙度 0~1,越大越哑光
metallic number 绝缘封网金属度 0~1,越大高光分量越强
sag number 绝缘封网弧垂/垂度
segments number 绝缘封网绳采样段数
shadowMode string 阴影模式