com.supermap.realspace.threeddesigner
类 RectangularRing
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.data.CSGEntity
-
- com.supermap.realspace.threeddesigner.RectangularRing
-
- 所有已实现的接口:
- IDisposable
public class RectangularRing extends CSGEntity
矩形环体,继承于CSGEntity
类
-
-
构造器概要
构造器 构造器和说明 RectangularRing()
构造一个新的 RectangularRing 对象。RectangularRing(double length, double width, double dPipeRadius)
根据指定的参数来构造一个 RectangularRing 的新对象,单位为米。RectangularRing(RectangularRing rectangularRingEntity)
根据给定的 RectangularRing 对象构造一个与其完全相同的新对象。
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 RectangularRing
clone()
void
dispose()
double
getLength()
返回矩形环的环长度,单位为米。double
getPipeRadius()
返回矩形环的管半径,单位为米。double
getWidth()
返回矩形环的环宽度,单位为米。void
setLength(double ringLength)
设置矩形环的环长度,单位为米。void
setPipeRadius(double pipeRadius)
设置矩形环的管半径,单位为米。void
setWidth(double ringWidth)
设置矩形环的环宽度,单位为米。-
从类继承的方法 com.supermap.data.CSGEntity
difference, difference, getArea, getBoundingBox, getType, getVolume, intersect, intersect, multiply, rotate, scale, translate, union, union
-
-
-
-
构造器详细资料
-
RectangularRing
public RectangularRing()
构造一个新的 RectangularRing 对象。
-
RectangularRing
public RectangularRing(RectangularRing rectangularRingEntity)
根据给定的 RectangularRing 对象构造一个与其完全相同的新对象。- 参数:
rectangularRingEntity
- 给定的矩形环体对象。
-
RectangularRing
public RectangularRing(double length, double width, double dPipeRadius)
根据指定的参数来构造一个 RectangularRing 的新对象,单位为米。- 参数:
length
- 矩形环的环长度。width
- 矩形环的环宽度。dPipeRadius
- 矩形环的管半径。
-
-
方法详细资料
-
getLength
public double getLength()
返回矩形环的环长度,单位为米。- 返回:
- 矩形环的环长度, 默认为10。
-
setLength
public void setLength(double ringLength)
设置矩形环的环长度,单位为米。- 参数:
ringLength
- 矩形环的环长度。
-
getWidth
public double getWidth()
返回矩形环的环宽度,单位为米。- 返回:
- 矩形环的环宽度, 默认为6。
-
setWidth
public void setWidth(double ringWidth)
设置矩形环的环宽度,单位为米。- 参数:
ringWidth
- 矩形环的环宽度。
-
getPipeRadius
public double getPipeRadius()
返回矩形环的管半径,单位为米。- 返回:
- 矩形环的管半径, 默认为1。
-
setPipeRadius
public void setPipeRadius(double pipeRadius)
设置矩形环的管半径,单位为米。- 参数:
pipeRadius
- 矩形环的管半径。
-
clone
public RectangularRing clone()
-
dispose
public void dispose()
- 指定者:
dispose
在接口中IDisposable
- 覆盖:
dispose
在类中CSGEntity
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.