com.supermap.realspace.threeddesigner
类 Revol

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

public class Revol
extends CSGEntity

旋转拉伸体

截面不能横跨y轴。


构造方法摘要
Revol()
          默认构造一个 Revol 的新对象
Revol(CSGProfile profile, double startAngle, double sweepAngle)
          根据给定参数来构造一个 Revol 的新对象
Revol(Revol revolEntity)
          根据Revol对象来构造一个 Revol 的新对象
 
方法摘要
 CSGProfile getProfile()
          获取截面
 double getStartAngle()
          获取起始角度
 double getSweepAngle()
          获取旋转角度
 void setProfile(CSGProfile profile)
          设置截面
 void setStartAngle(double startAngle)
          设置起始角度
 void setSweepAngle(double sweepAngle)
          设置旋转角度
 
从类 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
 

构造方法详细信息

Revol

public Revol()
默认构造一个 Revol 的新对象


Revol

public Revol(Revol revolEntity)
根据Revol对象来构造一个 Revol 的新对象

参数:
revolEntity - 指定的Revol对象

Revol

public Revol(CSGProfile profile,
             double startAngle,
             double sweepAngle)
根据给定参数来构造一个 Revol 的新对象

参数:
profile - 截面
startAngle - 起始角度
sweepAngle - 旋转角度
方法详细信息

getProfile

public CSGProfile getProfile()
获取截面

返回:
截面

setProfile

public void setProfile(CSGProfile profile)
设置截面

参数:
profile - 截面

getSweepAngle

public double getSweepAngle()
获取旋转角度

返回:
旋转角度

setSweepAngle

public void setSweepAngle(double sweepAngle)
设置旋转角度

参数:
sweepAngle - 旋转角度

setStartAngle

public void setStartAngle(double startAngle)
设置起始角度

参数:
startAngle - 起始角度

getStartAngle

public double getStartAngle()
获取起始角度

返回:
起始角度