#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 &arPolys, void *fill); // 计算剖面 private: TGGeSectionSolid m_SectionSolid; TGGeSectionPlane m_SectionPlane; }; #endif