com.supermap.mobjects.situationsimulation
类 BasicLineCommunicationLink
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.mobjects.situationsimulation.GeoEntityEffect
-
- com.supermap.mobjects.situationsimulation.CommunicationLink
-
- com.supermap.mobjects.situationsimulation.BasicLineCommunicationLink
-
- 所有已实现的接口:
- IDisposable
public class BasicLineCommunicationLink extends CommunicationLink
三维线链路类
-
-
构造器概要
构造器 构造器和说明 BasicLineCommunicationLink()
构造函数
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 void
dispose()
释放对象GeoStyle3D
getLinkLineStyle3D()
获取连接线样式。double
getSignalLengthRatio()
获取信号线与连接线比值(0~1),此值用于控制信号长度。GeoStyle3D
getSignalLineStyle3D()
获取信号线样式。double
getSignalSpeed()
获取信号流动速度(单位:米/秒)。boolean
isBothWay()
是否双向流动void
setBothWay(boolean bIsBothWay)
设置双向流动。void
setLinkLineStyle3D(GeoStyle3D style3D)
设置连接线样式。void
setSignalLengthRatio(double dRatio)
设置信号线与连接线比值(0~1),此值用于控制信号长度。void
setSignalLineStyle3D(GeoStyle3D style3D)
设置信号线样式。void
setSignalSpeed(double dSpeed)
设置信号流动速度(单位:米/秒)。-
从类继承的方法 com.supermap.mobjects.situationsimulation.CommunicationLink
getEndPoint, getEndUuid, getLinkType, getMaxVisibleDistance, getStartPoint, getStartUuid, setEndPoint, setEndUuid, setMaxVisibleDistance, setStartPoint, setStartUuid
-
从类继承的方法 com.supermap.mobjects.situationsimulation.GeoEntityEffect
clone, fromXml, generateUuid, getOffset, getType, getUuid, isChangeSizeFlowModel, isVisible, setChangeSizeFlowModel, setOffset, setUuid, setVisible, toXml
-
-
-
-
方法详细资料
-
dispose
public void dispose()
释放对象- 指定者:
dispose
在接口中IDisposable
- 覆盖:
dispose
在类中CommunicationLink
-
setLinkLineStyle3D
public void setLinkLineStyle3D(GeoStyle3D style3D)
设置连接线样式。- 参数:
style3D
- 连接线样式。
-
getLinkLineStyle3D
public GeoStyle3D getLinkLineStyle3D()
获取连接线样式。- 返回:
- 连接线样式。
-
setSignalLineStyle3D
public void setSignalLineStyle3D(GeoStyle3D style3D)
设置信号线样式。- 参数:
style3D
- 信号线样式。
-
getSignalLineStyle3D
public GeoStyle3D getSignalLineStyle3D()
获取信号线样式。- 返回:
- 信号线样式。
-
setSignalSpeed
public void setSignalSpeed(double dSpeed)
设置信号流动速度(单位:米/秒)。- 参数:
dSpeed
- 信号流动速度。
-
getSignalSpeed
public double getSignalSpeed()
获取信号流动速度(单位:米/秒)。- 返回:
- 信号流动速度。
-
setSignalLengthRatio
public void setSignalLengthRatio(double dRatio)
设置信号线与连接线比值(0~1),此值用于控制信号长度。- 参数:
dRatio
- 信号线与连接线比值。
-
getSignalLengthRatio
public double getSignalLengthRatio()
获取信号线与连接线比值(0~1),此值用于控制信号长度。- 返回:
- 信号线与连接线比值。
-
setBothWay
public void setBothWay(boolean bIsBothWay)
设置双向流动。- 参数:
bIsBothWay
- 双向流动。
-
isBothWay
public boolean isBothWay()
是否双向流动- 返回:
- 双向流动。
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.