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

67 lines
1.5 KiB
C++

#include "stdafx.h"
#include "resource.h"
#include "DrawThunder2D.h"
#include "CaculateResult.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
CDrawThunderTools::CDrawThunderTools()
{
}
CDrawThunderTools::~CDrawThunderTools()
{
}
void CDrawThunderTools::DrawThunder2DArea(const AcGeDoubleArray arHeight, LPCTSTR pszGroupNo)
{
m_drawTools.DrawThunder2DArea(arHeight, pszGroupNo);
}
void CDrawThunderTools::DrawThunder2DArea(LPCTSTR pszGroupNo, const AcDbObjectIdArray& arID)
{
m_drawTools.DrawThunder2DArea(pszGroupNo, arID);
}
void CDrawThunderTools::DrawThunderLine(LPCTSTR pszGroupNo, const AcGeDoubleArray& arHeight)
{
m_drawTools.DrawThunderLine(pszGroupNo, arHeight);
}
void CDrawThunderTools::DrawThunderLine(LPCTSTR pszGroupNo, const AcDbObjectIdArray& arID)
{
m_drawTools.DrawThunderLine(pszGroupNo, arID);
}
void CDrawThunderTools::ShowLayer(LPCTSTR lpLayerName,BOOL bShow)
{
m_drawTools.ShowLayer(lpLayerName,bShow);
}
void CDrawThunderTools::Set2dLayer(const CString& strLayer2d)
{
m_drawTools.Set2dLayer(strLayer2d);
}
void CDrawThunderTools::Set3dLayer(const CString& strLayer3d)
{
m_drawTools.Set3dLayer(strLayer3d);
}
//得到当前计算结果
int CDrawThunderTools::GetNowCaculateResult(lstCltResult& arResult)
{
return m_drawTools.GetNowCaculateResult(arResult);
}
BOOL CDrawThunderTools::CalcThunderData(LPCTSTR pszGNo, const AcGeDoubleArray& arProHeight, const AcDbObjectIdArray& arThund, lstCltResult& lstData)
{
return m_drawTools.CalcThunderData(pszGNo,arProHeight,arThund,lstData);
}