#ifndef _CLableThunderBX_H__ #define _CLableThunderBX_H__ #if _MSC_VER > 1000 #pragma once #endif class CLableThunderBX { public: CLableThunderBX(void); ~CLableThunderBX(void); //标注BX 避雷针 void LablePntBX(); //标注BX 避雷线 void LabeLineBX(); //标注BX 避雷针(折线) void LableFoldPntBX(); //标注BX 避雷线(折线) void LabeFoldLineBX(); private: bool GetSelectCircleCenter(LPCTSTR pszSelTip, AcGePoint3d& ptGetCent, AcDbObjectId& idCircle); bool GetSelectRegionPoint(AcGePoint3d& ptReg); // 绘制标注bx文 void DrawBxText(const AcGePoint3d& ptST,const AcGePoint3d& ptEn,LPCTSTR pszDimName,const AcGeVector3d& vtDim); bool DocGetMeterUnitDraw(); private: CString m_csType; CString m_csGroup; BOOL m_bFold; }; #endif