Files
envi-code/SourceCode/Code2026/tg_shs/shs_TwtKernal/FloorHoleOperation.h
T

34 lines
1.0 KiB
C++
Raw Normal View History

2026-10-04 00:04:20 +08:00
#ifndef __CFLOORHOLEOPERATION_H__
2026-09-28 15:28:50 +08:00
#define __CFLOORHOLEOPERATION_H__
#include "FloorHoleDlg.h"
class CFloorHoleOperation
{
public:
CFloorHoleOperation();
~CFloorHoleOperation();
2026-10-04 00:04:20 +08:00
// 添加楼板洞
2026-09-28 15:28:50 +08:00
BOOL AddHole(CFloorHoleDlg &floorHoleDlg, AcGePoint3d ptIns);
2026-10-04 00:04:20 +08:00
// 添加文字标注
2026-09-28 15:28:50 +08:00
BOOL AddLabel(CFloorHoleDlg &floorHoleDlg, AcGePoint3d ptStart);
2026-10-04 00:04:20 +08:00
// 计算楼板洞插入点
2026-09-28 15:28:50 +08:00
BOOL CalcInsertPoint(CFloorHoleDlg &floorHoleDlg, Entity entBaseLine1, double nDist1, Entity entBaseLine2, double nDist2, XPoint ptBaseLine1, XPoint ptBaseLine2);
2026-10-04 00:04:20 +08:00
// 添加尺寸标注
2026-09-28 15:28:50 +08:00
void AddDimLabel(CFloorHoleDlg &floorHoleDlg, XPoint ptStart, XPoint ptEnd);
2026-10-04 00:04:20 +08:00
// 移动楼板洞
2026-09-28 15:28:50 +08:00
void MoveFloorHole();
public:
2026-10-04 00:04:20 +08:00
AcGePoint3d m_ptInsert; //楼板洞插入点
AcGePoint3d m_ptBaseLine1; //标注基准线1上的点
AcGePoint3d m_ptBaseLine2; //标注基准线2上的点
2026-09-28 15:28:50 +08:00
private:
2026-10-04 00:04:20 +08:00
double m_dLen1; //方形楼板洞宽度
double m_dLen2; //方形楼板洞厚度
double m_dRotation; //方形楼板洞角度
2026-09-28 15:28:50 +08:00
};
#endif //__FLOORHOLEOPERATION_H__