com.supermap.realspace.threeddesigner
类 ExtrudedBody
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.data.CSGEntity
-
- com.supermap.realspace.threeddesigner.ExtrudedBody
-
- 所有已实现的接口:
- IDisposable
public class ExtrudedBody extends CSGEntity
拉伸体,继承于CSGEntity
类。
-
-
构造器概要
构造器 构造器和说明 ExtrudedBody()
默认构造一个新的 ExtrudedBody 对象。ExtrudedBody(CSGProfile bottomProfile, Point3D extrudedDirection, double extrudedLength)
根据给定的截面、拉伸方向、拉伸长度,构造一个新的 ExtrudedBody 对象。ExtrudedBody(ExtrudedBody entity)
根据给定的参数构造一个新的 ExtrudedBody 对象。
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 void
dispose()
CSGProfile
getBottomRegion()
返回拉伸体的截面。Point3D
getExtrudedDirection()
返回拉伸体的拉伸方向。double
getExtrudedLength()
返回拉伸体的拉伸长度,单位为米。void
setBottomRegion(CSGProfile bottomProfile)
设置拉伸体的截面。void
setExtrudedDirection(Point3D direction)
设置拉伸体的拉伸方向void
setExtrudedLength(double length)
设置拉伸体的拉伸长度,单位为米。
-
-
-
构造器详细资料
-
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
- 拉伸体的拉伸长度
-
dispose
public void dispose()
- 指定者:
dispose
在接口中IDisposable
- 覆盖:
dispose
在类中CSGEntity
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.