BIMHome v1.0.0
BIMHome接口文档说明
BlockFactory.h
浏览该文件的文档.
1/************************************************************************
2* @file BlockFactory.h
3*
4* @brief 飨Block
5*
6* @details 飨Block
7*
8* @author jshuo
9*
10* @version 汾 V0.1
11*
12* @date 2025-7-28
13*
14* @license Ƽ޹˾
15*
16*************************************************************************/
17
18#ifndef PLATFORMALGORITHM_INTERFACE_BLOCKFACTORY_H
19#define PLATFORMALGORITHM_INTERFACE_BLOCKFACTORY_H
20
21#include <BHGlobal.h>
22#include <string>
23#include <vector>
24#include "Base/Math/Geometry/Block.h"
25namespace App {
26 class IDocument;
27 class IDocumentObject;
28}
29
30namespace PlatformAlgorithm
31{
32 class PlatformAlgorithmEXPORTS BlockFactory
33 {
34 public:
35 //(Block)
44 static App::IDocumentObject* createBlock(const Base::Block& pblock, const std::string& objName = "Block", App::IDocument* pParentDoc = nullptr);
45
52 static void updateBlock(App::IDocumentObject* pBlockObj, const Base::Block& pblock);
53
54
55 };
56}
57
58#endif //PLATFORMALGORITHM_INTERFACE_BLOCKFACTORY_H
文档接口类
Definition IDocument.h:43
Definition IDocumentObject.h:35
Definition Block.h:26
static void updateBlock(App::IDocumentObject *pBlockObj, const Base::Block &pblock)
static App::IDocumentObject * createBlock(const Base::Block &pblock, const std::string &objName="Block", App::IDocument *pParentDoc=nullptr)
Definition BlockFactory.h:33
Definition BaseFigureFactory.h:28
Definition BaseFigureFactory.h:33