com.supermap.realspace.threeddesigner

类 CSGProfile

  • java.lang.Object
    • com.supermap.data.InternalHandle
      • com.supermap.data.InternalHandleDisposable
        • com.supermap.realspace.threeddesigner.CSGProfile
  • 所有已实现的接口:
    IDisposable
    直接已知子类:
    CircleProfile, PolygonProfile


    public abstract class CSGProfile
    extends com.supermap.data.InternalHandleDisposable
    截面的基类。
    • 构造器详细资料

      • CSGProfile

        public CSGProfile()
    • 方法详细资料

      • getType

        public ProfileType getType()
        返回截面的类型,包含圆形截面和多边形截面。
        返回:
        截面类型
      • getMatrix

        public Matrix getMatrix()
        获取位置矩阵。
        返回:
        位置矩阵
      • setMatrix

        public void setMatrix(Matrix matrix)
        设置位置矩阵。
        参数:
        matrix - 位置矩阵
      • fromJSON

        public static CSGProfile fromJSON(String jsonFile)
        导入截面
        参数:
        jsonFile - 截面文件(*.json)
        返回:
        截面
      • toJSON

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

        public void dispose()

Copyright © 2021–2024 SuperMap. All rights reserved.