BIMHome v1.0.0
BIMHome接口文档说明
ProjectHelper.h
浏览该文件的文档.
1/************************************************************************
2* @file ProjectHelper.h
3*
4* @brief 投影助手类
5*
6* @details 投影助手类
7*
8* @author sunpeng
9*
10* @version 版本号 V0.1
11*
12* @date 2025-6-26
13*
14* @license 北京华科软科技有限公司
15*
16*************************************************************************/
17
18#ifndef PLATFORMALGORITHM_INTERFACE_PROJECTHELPER_H
19#define PLATFORMALGORITHM_INTERFACE_PROJECTHELPER_H
20
21#include <BHGlobal.h>
22#include <string>
23#include <vector>
24#include <memory>
25#include "Base/Vector3D.h"
26#include "Base/Vector2D.h"
27
28namespace App {
29 class IDocument;
30 class IDocumentObject;
31}
32
33namespace Base {
34 class PolyLine;
35 class PolyLine2D;
36}
37
38namespace PlatformAlgorithm
39{
40 class PlatformAlgorithmEXPORTS ProjectHelper
41 {
42 public:
43
44 //点在线上的投影
53
54 //点在线上的投影 二维
63
64 };
65}
66
67#endif //PLATFORMALGORITHM_INTERFACE_PROJECTHELPER_H
Definition PolyLine2D.h:27
Definition PolyLine.h:27
Vector2d 类,表示二维空间中的向量
Definition Vector2D.h:58
static Base::Vector2d getNearestPointByProjectPointOnCurves2D(const Base::PolyLine2D &polyLine, const Base::Vector2d &point)
计算点到二维多段线的最短投影点
static Base::Vector3d getNearestPointByProjectPointOnCurves(const Base::PolyLine &polyLine, const Base::Vector3d &point)
计算点到多段线的最短投影点
Definition ProjectHelper.h:41
Definition BaseFigureFactory.h:28
Definition BaseFigureFactory.h:24
Definition BaseFigureFactory.h:33