com.supermap.realspace.threeddesigner
类 CSGProfile

java.lang.Object
  继承者 InternalHandle
      继承者 com.supermap.realspace.threeddesigner.CSGProfile
直接已知子类:
CircleProfile, PolygonProfile

public abstract class CSGProfile
extends InternalHandle

截面的基类。


构造方法摘要
CSGProfile()
           
 
方法摘要
static CSGProfile fromJSON(java.lang.String jsonFile)
          导入截面
 ProfileType getType()
          获取截面的类型,包含圆形截面和多边形截面。
 boolean toJSON(java.lang.String outFileName)
          导出截面
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

CSGProfile

public CSGProfile()
方法详细信息

getType

public ProfileType getType()
获取截面的类型,包含圆形截面和多边形截面。

返回:
截面类型

fromJSON

public static CSGProfile fromJSON(java.lang.String jsonFile)
导入截面

参数:
jsonFile - 截面文件(*.json)
返回:
截面

toJSON

public boolean toJSON(java.lang.String outFileName)
导出截面

参数:
outFileName - 截面文件(*.json)
返回:
一个布尔值,true表示导出截面文件成功,false表示导出截面文件失败。