com.supermap.analyst.networkanalyst

类 CenterPointInfo



  • public class CenterPointInfo
    extends Object
    中心点信息类。

    存储了中心点的坐标或者结点ID。

    • 构造器详细资料

      • CenterPointInfo

        public CenterPointInfo()
        构造一个新的中心点信息对象。
      • CenterPointInfo

        public CenterPointInfo(CenterPointInfo info)
        根据给定的中心点信息对象构造一个与其完全相同的新对象。
        参数:
        info - 给定的中心点信息对象。
    • 方法详细资料

      • getCenterID

        public int getCenterID()
        返回中心点ID。
        返回:
        中心点ID。
        默认值:
        默认值为-1.0。
      • setCenterID

        public void setCenterID(int value)
        设置中心点ID。
        参数:
        value - 中心点ID。
      • getCenterPoint

        public Point2D getCenterPoint()
        返回中心点坐标。
        返回:
        中心点坐标。
        默认值:
        默认值为(0,0)点。
      • setCenterPoint

        public void setCenterPoint(Point2D value)
        设置中心点坐标。
        参数:
        value - 中心点坐标。

Copyright © 2021–2024 SuperMap. All rights reserved.