BIMHome v1.0.0
BIMHome接口文档说明
LoftFactory.h
浏览该文件的文档.
1/************************************************************************
2* @file LoftFactory.h
3*
4* @brief 放样创建工厂类
5*
6* @details 主要创建各种放样体
7*
8* @author renduo
9*
10* @version 版本号 V0.1
11*
12* @date 2023-09-12
13*
14* @license 北京华科软科技有限公司
15*
16*************************************************************************/
17
18#ifndef PLATFORMALGORITHM_LOFTFACTORY_H
19#define PLATFORMALGORITHM_LOFTFACTORY_H
20
21#include <BHGlobal.h>
22#include <string>
23#include <vector>
24#include <Base/Placement.h>
25
26namespace App {
27 class IDocument;
28 class IDocumentObject;
29}
30
31namespace Base {
32 class Placement;
33}
34
35namespace PlatformAlgorithm
36{
37
38 class PlatformAlgorithmEXPORTS LoftFactory
39 {
40
41 public:
42
55 static App::IDocumentObject* createLoft(const std::vector<App::IDocumentObject*>& vSections, bool bSolid, bool bRuled, bool bClosed, long lMaxDegree, const std::string& sObjname = "Loft", App::IDocument* pIDoc = nullptr);
56
67 static void updateLoftParameters(App::IDocumentObject* pIObj, const std::vector<App::IDocumentObject*>& vSections, bool bSolid, bool bRuled, bool bClosed, long lMaxDegree);
68
69 };
70
71}
72
73
74#endif // PLATFORMALGORITHM_LOFTFACTORY_H
文档接口类
Definition IDocument.h:43
Definition IDocumentObject.h:35
static void updateLoftParameters(App::IDocumentObject *pIObj, const std::vector< App::IDocumentObject * > &vSections, bool bSolid, bool bRuled, bool bClosed, long lMaxDegree)
更新放样
static App::IDocumentObject * createLoft(const std::vector< App::IDocumentObject * > &vSections, bool bSolid, bool bRuled, bool bClosed, long lMaxDegree, const std::string &sObjname="Loft", App::IDocument *pIDoc=nullptr)
创建放样
Definition LoftFactory.h:39
Definition BaseFigureFactory.h:28
Definition BaseFigureFactory.h:24
Definition BaseFigureFactory.h:33