BIMHome v1.0.0
BIMHome接口文档说明
IShape.h
浏览该文件的文档.
1/************************************************************************
2* @file IShape.h
3*
4* @brief 形体抽象基类
5*
6* @details 形体抽象基类
7*
8* @author sunpeng
9*
10* @version 版本号 V0.1
11*
12* @date 2025-6-10
13*
14* @license 北京华科软科技有限公司
15*
16*************************************************************************/
17
18#ifndef BIMHOMEBASE_ISHAPE_H
19#define BIMHOMEBASE_ISHAPE_H
20
21#include <string>
22#include "Base/Placement.h"
23
24namespace App {
25 class Document;
26 class IDocumentObject;
27}
28
29namespace Base
30{
35 class BaseExport IShape
36 {
37 public:
43 virtual void setPlacement(const Base::Placement& placement) = 0;
44
51 };
52}
53
54#endif //BIMHOMEBASE_ISHAPE_H
virtual void setPlacement(const Base::Placement &placement)=0
设置形状的放置位置
virtual Base::Placement & getPlacement()=0
获取形状的放置位置
IShape 接口类,定义了形状的基本操作
Definition IShape.h:36
Placement 类,表示三维空间中的位置和旋转
Definition Placement.h:34
Definition BaseFigureFactory.h:28
Definition BaseFigureFactory.h:24