com.supermap.data

类 GeoRectangularRing

  • 所有已实现的接口:
    IDisposable


    public class GeoRectangularRing
    extends Geometry3D
    参数化对象-矩形环体。
    作者:
    Administrator
    • 构造器详细资料

      • GeoRectangularRing

        public GeoRectangularRing()
        构造一个新的 GeoRectangularRing 对象。
      • GeoRectangularRing

        public GeoRectangularRing(GeoRectangularRing geoRectangularRing)
        根据指定的参数构造一个 GeoRectangularRing 新对象。
        参数:
        geoRectangularRing - 指定的GeoRectangularRing对象
      • GeoRectangularRing

        public GeoRectangularRing(Point3D position,
                                  double length,
                                  double width,
                                  double pipeRadius,
                                  double chamferRadius)
        根据指定的参数构造一个 GeoRectangularRing 新对象。
        参数:
        position - 矩形环体的中心点坐标。
        length - 矩形环体的环长度。
        width - 矩形环体的环宽度。
        pipeRadius - 矩形环体的圆管半径。
        chamferRadius - 矩形环体的倒角半径。
    • 方法详细资料

      • dispose

        public void dispose()
        从类复制的说明: Geometry
        释放该对象所占用的资源。当调用该方法之后,此对象不再可用。
        指定者:
        dispose 在接口中 IDisposable
        指定者:
        dispose 在类中 Geometry
      • getLength

        public double getLength()
        获取矩形环体的环长度。
        返回:
        矩形环体的环长度
      • setLength

        public void setLength(double length)
        设置矩形环体的环长度。
        参数:
        length - 矩形环体的环长度
      • getWidth

        public double getWidth()
        获取矩形环体的环宽度。
        返回:
        矩形环体的环宽度
      • setWidth

        public void setWidth(double width)
        设置矩形环体的环宽度。
        参数:
        width - 矩形环体的环宽度
      • getPipeRadius

        public double getPipeRadius()
        获取矩形环体的圆管半径。
        返回:
        矩形环体的圆管半径
      • setPipeRadius

        public void setPipeRadius(double pipeRadius)
        设置矩形环体的圆管半径。
        参数:
        pipeRadius - 矩形环体的圆管半径
      • getChamferRadius

        public double getChamferRadius()
        获取矩形环体的倒角半径。
        返回:
        矩形环体的倒角半径
      • setChamferRadius

        public void setChamferRadius(double chamferRadius)
        设置矩形环体的倒角半径。
        参数:
        chamferRadius - 矩形环体的倒角半径
      • getCenter

        public Point3D getCenter()
        获取矩形环体的中心点坐标。
        返回:
        矩形环体的中心点坐标

Copyright © 2021–2024 SuperMap. All rights reserved.