管网
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
optional
对象有下面这些属性:
|
Example:
//定义PipeLineFeature
Members
-
获取或设置管道的颜色
-
cornerType : CornerType
-
获取管道拐角的形状
-
获取管道的id
-
获取或设置管道显示的最远距离
-
获取或设置管道显示的最近距离
-
points : Array.<XYZ>
-
获取管道的点坐标集合.
-
获取管道拉升形状的坐标集合
-
获取或设置管道是否显示
Methods
-
根据管道半径和空心半径获取shape
Name Type Description radius
Number 管道半径 isHollow
Number 是否空心 hollowRadius
Number 空心半径 Returns:
shape> 二维形状坐标 -
根据管道半径和空心半径获取shape
Name Type Description n
Number 正多边形边数 radius
Number 对角线半长 rotation
Number 旋转角度 isHollow
Number 是否空心 hollowRadius
Number 空心对角线半长 Returns:
shape> 二维形状坐标 -
销毁实例
-
获取实例是否销毁
Returns:
-
获取实例是否销毁
Returns: