com.supermap.analyst.networkanalyst

类 SSCPathAnalystParameter



  • public class SSCPathAnalystParameter
    extends Object
    基于 SSC文件的最佳路径分析参数。
    • 构造器详细资料

      • 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。

Copyright © 2021–2024 SuperMap. All rights reserved.