com.supermap.realspace.threeddesigner
类 BendingCylinder
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.data.CSGEntity
-
- com.supermap.realspace.threeddesigner.BendingCylinder
-
- 所有已实现的接口:
- IDisposable
public class BendingCylinder extends CSGEntity
弯折圆柱,继承于CSGEntity
类。
-
-
构造器概要
构造器 构造器和说明 BendingCylinder()
构造一个新的 BendingCylinder 对象。BendingCylinder(BendingCylinder bendingCylinder)
根据给定的 BendingCylinder 对象构造一个与其完全相同的新对象。BendingCylinder(double dRadius, double dAngle, double dLength)
根据指定的参数来构造一个 BendingCylinder 的新对象。
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 BendingCylinder
clone()
void
dispose()
double
getAngle()
返回弯折圆柱的弯折角度,单位为度。double
getLength()
返回弯折圆柱的长度,单位为米。double
getRadius()
返回弯折圆柱的圆半径,单位为米。void
setAngle(double angle)
设置弯折圆柱的弯折角度,单位为度。void
setLength(double length)
设置弯折圆柱的长度,单位为米。void
setRadius(double radius)
设置弯折圆柱的圆半径,单位为米。-
从类继承的方法 com.supermap.data.CSGEntity
difference, difference, getArea, getBoundingBox, getType, getVolume, intersect, intersect, multiply, rotate, scale, translate, union, union
-
-
-
-
构造器详细资料
-
BendingCylinder
public BendingCylinder()
构造一个新的 BendingCylinder 对象。
-
BendingCylinder
public BendingCylinder(BendingCylinder bendingCylinder)
根据给定的 BendingCylinder 对象构造一个与其完全相同的新对象。- 参数:
bendingCylinder
- 指定的弯折圆柱对象。
-
BendingCylinder
public BendingCylinder(double dRadius, double dAngle, double dLength)
根据指定的参数来构造一个 BendingCylinder 的新对象。- 参数:
dRadius
- 弯折圆柱的圆半径。dAngle
- 弯折圆柱的弯折角度。dLength
- 弯折圆柱的长度。
-
-
方法详细资料
-
getRadius
public double getRadius()
返回弯折圆柱的圆半径,单位为米。- 返回:
- 弯折圆柱的圆半径,默认为1.0。
-
setRadius
public void setRadius(double radius)
设置弯折圆柱的圆半径,单位为米。- 参数:
radius
- 弯折圆柱的圆半径。
-
getAngle
public double getAngle()
返回弯折圆柱的弯折角度,单位为度。- 返回:
- 弯折圆柱的弯折角度,默认为30.0。
-
setAngle
public void setAngle(double angle)
设置弯折圆柱的弯折角度,单位为度。- 参数:
angle
- 弯折圆柱的弯折角度。
-
getLength
public double getLength()
返回弯折圆柱的长度,单位为米。- 返回:
- 弯折圆柱的长度,默认为10.0。
-
setLength
public void setLength(double length)
设置弯折圆柱的长度,单位为米。- 参数:
length
- 弯折圆柱的长度。
-
clone
public BendingCylinder clone()
-
dispose
public void dispose()
- 指定者:
dispose
在接口中IDisposable
- 覆盖:
dispose
在类中CSGEntity
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.