com.supermap.data
类 GeoRectangularRing

java.lang.Object
  继承者 com.supermap.data.Geometry
      继承者 com.supermap.data.Geometry3D
          继承者 com.supermap.data.GeoRectangularRing

public class GeoRectangularRing
extends Geometry3D

参数化对象-矩形环体。


构造方法摘要
GeoRectangularRing()
          构造一个新的 GeoRectangularRing 对象。
GeoRectangularRing(GeoRectangularRing geoRectangularRing)
          根据指定的参数构造一个 GeoRectangularRing 新对象。
GeoRectangularRing(Point3D position, double length, double width, double pipeRadius, double chamferRadius)
          根据指定的参数构造一个 GeoRectangularRing 新对象。
 
方法摘要
 GeoRectangularRing clone()
          克隆一个GeoRectangularRing对象。
 void dispose()
          释放对象所占资源。
 Point3D getCenter()
          获取矩形环体的中心点坐标。
 double getChamferRadius()
          获取矩形环体的倒角半径。
 double getLength()
          获取矩形环体的环长度。
 double getPipeRadius()
          获取矩形环体的圆管半径。
 double getWidth()
          获取矩形环体的环宽度。
 void setChamferRadius(double chamferRadius)
          设置矩形环体的倒角半径。
 void setLength(double length)
          设置矩形环体的环长度。
 void setPipeRadius(double pipeRadius)
          设置矩形环体的圆管半径。
 void setWidth(double width)
          设置矩形环体的环宽度。
 
从类 com.supermap.data.Geometry3D 继承的方法
convertToGeoModel3D, convertToGeoModel3D, getBoundingBox, getGeoModel, getInnerPoint3D, getPosition, getRotationX, getRotationY, getRotationZ, getScaleX, getScaleY, getScaleZ, getStyle, getStyle3D, getVolume, hitTest, mirror, offset, resize, rotate, setPosition, setRotationX, setRotationY, setRotationZ, setScaleX, setScaleY, setScaleZ, setStyle, setStyle3D
 
从类 com.supermap.data.Geometry 继承的方法
addCustomGeometryCreatedListener, fromXML, getBounds, getID, getInnerPoint, getType, getVariantID, isEmpty, offset, removeCustomGeometryCreatedListener, setEmpty, setID, toXML
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

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 - 矩形环体的倒角半径。
方法详细信息

clone

public GeoRectangularRing clone()
克隆一个GeoRectangularRing对象。

覆盖:
java.lang.Object 中的 clone

dispose

public void dispose()
释放对象所占资源。

覆盖:
Geometry 中的 dispose

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()
获取矩形环体的中心点坐标。

返回:
矩形环体的中心点坐标