BIMHome v1.0.0
BIMHome接口文档说明
SurfaceHelper.h
浏览该文件的文档.
1/************************************************************************
2* @file SurfaceHelper.h
3*
4* @brief 曲面助手类
5*
6* @details 曲面助手类
7*
8* @author sunpeng
9*
10* @version 版本号 V0.1
11*
12* @date 2025-6-18
13*
14* @license 北京华科软科技有限公司
15*
16*************************************************************************/
17
18#ifndef PLATFORMALGORITHM_INTERFACE_SURFACEHELPER_H
19#define PLATFORMALGORITHM_INTERFACE_SURFACEHELPER_H
20
21#include <BHGlobal.h>
22#include <string>
23#include <vector>
24#include <memory>
25
26namespace App {
27 class IDocument;
28 class IDocumentObject;
29}
30
31namespace PlatformAlgorithm
32{
33 class PlatformAlgorithmEXPORTS SurfaceHelper
34 {
35 public:
44 static App::IDocumentObject* getOuterProfileBySurface(App::IDocumentObject* pSurface, const std::string& objName = "OuterProfile", App::IDocument* pParentDoc = nullptr);
45
54 static std::vector<App::IDocumentObject*> getInterProfilesBySurface(App::IDocumentObject* pSurface, const std::string& objName = "InterProfile", App::IDocument* pParentDoc = nullptr);
55
64
65 };
66}
67
68#endif //PLATFORMALGORITHM_INTERFACE_SURFACEHELPER_H
文档接口类
Definition IDocument.h:43
Definition IDocumentObject.h:35
static App::IDocumentObject * getOuterProfileBySurface(App::IDocumentObject *pSurface, const std::string &objName="OuterProfile", App::IDocument *pParentDoc=nullptr)
通过曲面获取外轮廓对象
static std::vector< App::IDocumentObject * > getInterProfilesBySurface(App::IDocumentObject *pSurface, const std::string &objName="InterProfile", App::IDocument *pParentDoc=nullptr)
通过曲面获取内轮廓对象
static bool isSurfaceIntersect(App::IDocumentObject *pSurface1, App::IDocumentObject *pSurface2)
判断两个由封闭曲线构造的曲面是否相交
Definition SurfaceHelper.h:34
Definition BaseFigureFactory.h:28
Definition BaseFigureFactory.h:33