Files
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

29 lines
858 B
C++

#ifndef _SECTIONPOLYGONCREATEOR_H_
#define _SECTIONPOLYGONCREATEOR_H_
#ifndef _SECTIONSTRUCTDEF_H_
#include "SectionStructDef.h"
#endif
class GEOAPI TSectionPloygonCreator
{
public:
TSectionPloygonCreator();
TSectionPloygonCreator(const TGGeSectionSolid &solid, const TGGeSectionPlane &plane);
TSectionPloygonCreator(const TGGeSectionSolid &solid);
TSectionPloygonCreator(const TGGeSectionPlane &plane);
~TSectionPloygonCreator(){};
void setSectionPlane(const TGGeSectionPlane &plane); // 设置剖面
void setSectionSolid(const TGGeSectionSolid &solid); // 设置被剖的实体
void getSectionPlane(TGGeSectionPlane &plane);
void getSectionSolid(TGGeSectionSolid &solid);
void GetSection(std::vector<TGGePoly2D> &arPolys, void *fill); // 计算剖面
private:
TGGeSectionSolid m_SectionSolid;
TGGeSectionPlane m_SectionPlane;
};
#endif