类的使用
com.supermap.realspace.threeddesigner.CSGProfile
-
使用CSGProfile的程序包 程序包 说明 com.supermap.realspace.threeddesigner -
-
com.supermap.realspace.threeddesigner中CSGProfile的使用
com.supermap.realspace.threeddesigner中CSGProfile的子类 限定符和类型 类和说明 classCircleProfile圆形截面,用于放样体、旋转体、拉伸体中,继承于CSGProfile类。classPolygonProfile多边形截面,用于放样体、旋转体、拉伸体中,继承于CSGProfile类。返回CSGProfile的com.supermap.realspace.threeddesigner中的方法 限定符和类型 方法和说明 static CSGProfileCSGProfile. fromJSON(String jsonFile)导入截面CSGProfileExtrudedBody. getBottomRegion()返回拉伸体的截面。CSGProfileLoftedBody. getProfile()返回放样体的截面信息。CSGProfileRevol. getProfile()返回旋转拉伸体的截面信息。参数类型为CSGProfile的com.supermap.realspace.threeddesigner中的方法 限定符和类型 方法和说明 voidExtrudedBody. setBottomRegion(CSGProfile bottomProfile)设置拉伸体的截面。voidRevol. setProfile(CSGProfile profile)设置旋转拉伸体的截面信息。voidLoftedBody. SetProfile(CSGProfile profile)设置放样体的截面信息。参数类型为CSGProfile的com.supermap.realspace.threeddesigner中的构造器 构造器和说明 ExtrudedBody(CSGProfile bottomProfile, Point3D extrudedDirection, double extrudedLength)根据给定的截面、拉伸方向、拉伸长度,构造一个新的 ExtrudedBody 对象。LoftedBody(CSGProfile profile, Point3Ds loftPath)根据给定的截面和放样位置,构造一个新的LoftedBody 对象。Revol(CSGProfile profile, double startAngle, double sweepAngle)根据给定的截面、起始角度、旋转角度,构造一个新的 Revol 对象。
-
Copyright © 2021–2025 SuperMap. All rights reserved.