com.supermap.realspace.threeddesigner
类 ExtrudedBody

java.lang.Object
  继承者 com.supermap.data.CSGEntity
      继承者 com.supermap.realspace.threeddesigner.ExtrudedBody

public class ExtrudedBody
extends CSGEntity

拉伸体


构造方法摘要
ExtrudedBody()
          默认构造一个新的 ExtrudedBody 对象。
ExtrudedBody(CSGProfile bottomProfile, Point3D extrudedDirection, double extrudedLength)
          根据给定的截面、拉伸方向、拉伸长度,构造一个新的 ExtrudedBody 对象。
ExtrudedBody(ExtrudedBody entity)
          根据给定的参数构造一个新的 ExtrudedBody 对象。
 
方法摘要
 CSGProfile getBottomRegion()
          获取截面
 Point3D getExtrudedDirection()
          获取拉伸方向
 double getExtrudedLength()
          获取拉伸长度。
 void setBottomRegion(CSGProfile bottomProfile)
          设置截面
 void setExtrudedDirection(Point3D direction)
          设置拉伸方向
 void setExtrudedLength(double length)
          设置拉伸长度。
 
从类 com.supermap.data.CSGEntity 继承的方法
difference, getArea, getBoundingBox, getType, getVolume, intersect, multiply, rotate, scale, translate, union
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

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()
获取拉伸长度。

返回:
拉伸长度

setExtrudedLength

public void setExtrudedLength(double length)
设置拉伸长度。

参数:
length - 拉伸长度