BIMHome v1.0.0
BIMHome接口文档说明
Hatch.h
浏览该文件的文档.
1/************************************************************************
2* @file Hatch.h
3*
4* @brief 三维填充
5*
6* @details 三维填充
7*
8* @author lirf
9*
10* @version 1.0
11*
12* @date 2025-6-7
13*
14* @license 北京华科软科技有限公司
15*
16*************************************************************************/
17
18#ifndef BIMHOMEBASE_GEOMETRYHATCH_H
19#define BIMHOMEBASE_GEOMETRYHATCH_H
20
21#include "Base/Math/Geometry/Geometry.h"
22
23namespace Base
24{
25 //填充
26 class BaseExport Hatch :public Geometry {
27 public:
29
35 Hatch(const std::vector<std::string>& mDimElements);
36 virtual ~Hatch();
37 virtual Geometry* copy(void) const;
38
43 std::vector<Geometry*> getGeoList()const;
44
50 void setGeoList(const std::vector<Geometry*>& geoList);
51
56 std::vector<std::string> getElements();
57
63 void setElements(const std::vector<std::string>& elements);
64
69 std::string getHatchType();
70
76 void setHatchType(std::string hatchType);
77 private:
78 std::vector<std::string> mHatchElements;
79 std::string mHatchType;//填充类型
80 std::vector<Geometry*> mHatchGeometry;//需要填充的集合类型几何
81 };
82}
83
84#endif
Definition Geometry.h:81
std::string mHatchType
Definition Hatch.h:79
void setElements(const std::vector< std::string > &elements)
设置几何对象元素
void setHatchType(std::string hatchType)
设置填充类型
void setGeoList(const std::vector< Geometry * > &geoList)
设置地理数据
std::vector< std::string > getElements()
获取几何对象元素
virtual Geometry * copy(void) const
std::vector< std::string > mHatchElements
Definition Hatch.h:78
std::vector< Geometry * > mHatchGeometry
Definition Hatch.h:80
virtual ~Hatch()
std::string getHatchType()
获取填充类型
Hatch(const std::vector< std::string > &mDimElements)
设置三维填充的存储数组
std::vector< Geometry * > getGeoList() const
获取地理数据
Definition Hatch.h:26
Definition BaseFigureFactory.h:24