com.supermap.analyst.networkanalyst
类 SSCPathAnalystParameter

java.lang.Object
  继承者 com.supermap.analyst.networkanalyst.SSCPathAnalystParameter

public class SSCPathAnalystParameter
extends java.lang.Object

基于 SSC文件的最佳路径分析参数。


构造方法摘要
SSCPathAnalystParameter()
          构造 SSC最佳路径分析参数类的对象。
 
方法摘要
 Point2D getEndPoint()
          返回SSC最佳路径分析的终止点。
 Point2Ds getMidpoints()
          返回SSC最佳路径分析的中间点。
 RouteType getRouteType()
          返回SSC最佳路径分析的分析模式。
 Point2D getStartPoint()
          返回SSC最佳路径分析的起始点。
 boolean isAlternative()
          获得是否返回备选方案。
 SSCPathAnalystParameter setAlternative(boolean value)
          设置是否返回备选方案。
 SSCPathAnalystParameter setEndPoint(Point2D pnt)
          设置SSC最佳路径分析的终止点。
 SSCPathAnalystParameter setMidpoints(Point2Ds pnts)
          设置SSC最佳路径分析的中间点。
 SSCPathAnalystParameter setRouteType(RouteType mode)
          设置SSC最佳路径分析的分析模式。
 SSCPathAnalystParameter setStartPoint(Point2D pnt)
          设置 SSC最佳路径分析的起始点。
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

SSCPathAnalystParameter

public SSCPathAnalystParameter()
构造 SSC最佳路径分析参数类的对象。

方法详细信息

setStartPoint

public SSCPathAnalystParameter setStartPoint(Point2D pnt)
设置 SSC最佳路径分析的起始点。

可以通过该接口设置SSC最佳路径分析的起始点。

参数:
pnt - 起始点坐标。

getStartPoint

public Point2D getStartPoint()
返回SSC最佳路径分析的起始点。

返回:
SSC最佳路径分析的起始点。

setEndPoint

public SSCPathAnalystParameter setEndPoint(Point2D pnt)
设置SSC最佳路径分析的终止点。

可以通过该接口设置SSC最佳路径分析分析的终止点。

参数:
pnt - 终止点坐标。

getEndPoint

public Point2D getEndPoint()
返回SSC最佳路径分析的终止点。

返回:
SSC最佳路径分析的终止点。

setMidpoints

public SSCPathAnalystParameter setMidpoints(Point2Ds pnts)
设置SSC最佳路径分析的中间点。

该接口可以在一次分析时,保证线路会经过这些中间点。

参数:
pnts - 中间点坐标。

getMidpoints

public Point2Ds getMidpoints()
返回SSC最佳路径分析的中间点。

返回:
SSC最佳路径分析的中间点。

setRouteType

public SSCPathAnalystParameter setRouteType(RouteType mode)
设置SSC最佳路径分析的分析模式。

该接口可以在一次分析时,保证线路会经过这些中间点。

参数:
mode - 分析模式。参见 RouteType。默认值为Recommend。

getRouteType

public RouteType getRouteType()
返回SSC最佳路径分析的分析模式。

返回:
SSC最佳路径分析的分析模式。

isAlternative

public boolean isAlternative()
获得是否返回备选方案。

返回:
是否返回备选方案,默认值为false。

setAlternative

public SSCPathAnalystParameter setAlternative(boolean value)
设置是否返回备选方案。

设置是否返回备选方案,默认值为false。