com.supermap.realspace.threeddesigner

类 ExtrudedBody

    • 构造器详细资料

      • ExtrudedBody

        public ExtrudedBody()
        默认构造一个新的 ExtrudedBody 对象。
      • ExtrudedBody

        public ExtrudedBody(ExtrudedBody entity)
        根据给定的参数构造一个新的 ExtrudedBody 对象。
        参数:
        entity - 拉伸体
      • ExtrudedBody

        public ExtrudedBody(CSGProfile bottomProfile,
                            Point3D extrudedDirection,
                            double extrudedLength)
        根据给定的截面、拉伸方向、拉伸长度,构造一个新的 ExtrudedBody 对象。
        参数:
        bottomProfile - 截面
        extrudedDirection - 拉伸方向
        extrudedLength - 拉伸长度
    • 方法详细资料

      • setBottomRegion

        public void setBottomRegion(CSGProfile bottomProfile)
        设置拉伸体的截面。
        参数:
        bottomProfile - 拉伸体的截面
      • getBottomRegion

        public CSGProfile getBottomRegion()
        返回拉伸体的截面。
        返回:
        拉伸体的截面
      • getExtrudedDirection

        public Point3D getExtrudedDirection()
        返回拉伸体的拉伸方向。
        返回:
        拉伸体的拉伸方向
      • setExtrudedDirection

        public void setExtrudedDirection(Point3D direction)
        设置拉伸体的拉伸方向
        参数:
        direction - 拉伸体的拉伸方向
      • getExtrudedLength

        public double getExtrudedLength()
        返回拉伸体的拉伸长度,单位为米。
        返回:
        拉伸体的拉伸长度,默认为1.0。
      • setExtrudedLength

        public void setExtrudedLength(double length)
        设置拉伸体的拉伸长度,单位为米。
        参数:
        length - 拉伸体的拉伸长度

Copyright © 2021–2024 SuperMap. All rights reserved.