com.supermap.realspace.threeddesigner
类 PolygonProfile

java.lang.Object
  继承者 InternalHandle
      继承者 com.supermap.realspace.threeddesigner.CSGProfile
          继承者 com.supermap.realspace.threeddesigner.PolygonProfile

public class PolygonProfile
extends CSGProfile

多边形截面,用于放样体、旋转体、拉伸体中。


构造方法摘要
PolygonProfile()
          默认构造一个新的 PolygonProfile 对象。
PolygonProfile(long handle)
          根据给定参数构建一个新的 PolygonProfile 对象。
 
方法摘要
 void addPart(Point3Ds polygon)
          设置多边形截面的起始点。
 int getCount()
          获取多边形节点个数。
 Point3Ds getPart(int partIndex)
          获取多边形截面的节点索引。
 
从类 com.supermap.realspace.threeddesigner.CSGProfile 继承的方法
fromJSON, getType, toJSON
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

PolygonProfile

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


PolygonProfile

public PolygonProfile(long handle)
根据给定参数构建一个新的 PolygonProfile 对象。

参数:
handle -
方法详细信息

addPart

public void addPart(Point3Ds polygon)
设置多边形截面的起始点。

参数:
polygon - 起始点

getCount

public int getCount()
获取多边形节点个数。

返回:
节点个数

getPart

public Point3Ds getPart(int partIndex)
获取多边形截面的节点索引。

参数:
partIndex - 节点索引
返回:
节点的坐标值