BIMHome
v1.0.0
BIMHome接口文档说明
首页
相关页面
Topics
包
类
文件
文件列表
文件成员
BIMHome
Algorithm
Interface
Builder
GeometricElements
Surface
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
26
namespace
App
{
27
class
IDocument;
28
class
IDocumentObject;
29
}
30
31
namespace
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
63
static
bool
isSurfaceIntersect
(
App::IDocumentObject
* pSurface1,
App::IDocumentObject
* pSurface2);
64
65
};
66
}
67
68
#endif
//PLATFORMALGORITHM_INTERFACE_SURFACEHELPER_H
App::IDocument
文档接口类
Definition
IDocument.h:43
App::IDocumentObject
Definition
IDocumentObject.h:35
PlatformAlgorithm::SurfaceHelper::getOuterProfileBySurface
static App::IDocumentObject * getOuterProfileBySurface(App::IDocumentObject *pSurface, const std::string &objName="OuterProfile", App::IDocument *pParentDoc=nullptr)
通过曲面获取外轮廓对象
PlatformAlgorithm::SurfaceHelper::getInterProfilesBySurface
static std::vector< App::IDocumentObject * > getInterProfilesBySurface(App::IDocumentObject *pSurface, const std::string &objName="InterProfile", App::IDocument *pParentDoc=nullptr)
通过曲面获取内轮廓对象
PlatformAlgorithm::SurfaceHelper::isSurfaceIntersect
static bool isSurfaceIntersect(App::IDocumentObject *pSurface1, App::IDocumentObject *pSurface2)
判断两个由封闭曲线构造的曲面是否相交
PlatformAlgorithm::SurfaceHelper
Definition
SurfaceHelper.h:34
App
Definition
BaseFigureFactory.h:28
PlatformAlgorithm
Definition
BaseFigureFactory.h:33