Files
envi-code/SourceCode/Code2026/ThunderProof/LableThunderBX.h
T

41 lines
774 B
C++
Raw Normal View History

2026-10-04 00:04:20 +08:00
#ifndef _CLableThunderBX_H__
2026-09-28 15:28:50 +08:00
#define _CLableThunderBX_H__
#if _MSC_VER > 1000
#pragma once
#endif
class CLableThunderBX
{
public:
CLableThunderBX(void);
~CLableThunderBX(void);
2026-10-04 00:04:20 +08:00
//标注BX 避雷针
2026-09-28 15:28:50 +08:00
void LablePntBX();
2026-10-04 00:04:20 +08:00
//标注BX 避雷线
2026-09-28 15:28:50 +08:00
void LabeLineBX();
2026-10-04 00:04:20 +08:00
//标注BX 避雷针(折线)
2026-09-28 15:28:50 +08:00
void LableFoldPntBX();
2026-10-04 00:04:20 +08:00
//标注BX 避雷线(折线)
2026-09-28 15:28:50 +08:00
void LabeFoldLineBX();
private:
bool GetSelectCircleCenter(LPCTSTR pszSelTip, AcGePoint3d& ptGetCent, AcDbObjectId& idCircle);
bool GetSelectRegionPoint(AcGePoint3d& ptReg);
2026-10-04 00:04:20 +08:00
// 绘制标注bx文
2026-09-28 15:28:50 +08:00
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