#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); }