81 lines
1.2 KiB
C++
81 lines
1.2 KiB
C++
#include "stdafx.h"
|
|
#include "resource.h"
|
|
#include "LightningRodData.h"
|
|
|
|
#ifdef _DEBUG
|
|
#undef THIS_FILE
|
|
static char THIS_FILE[]=__FILE__;
|
|
#define new DEBUG_NEW
|
|
#endif
|
|
|
|
|
|
TGLightningRodData::TGLightningRodData()
|
|
{
|
|
|
|
}
|
|
|
|
TGLightningRodData::~TGLightningRodData()
|
|
{
|
|
|
|
}
|
|
|
|
double TGLightningRodData::GetGroundRadius() const
|
|
{
|
|
return m_dGroundRadius;
|
|
}
|
|
|
|
double TGLightningRodData::GetHeight() const
|
|
{
|
|
return m_dHeight;
|
|
}
|
|
|
|
int TGLightningRodData::GetNumber() const
|
|
{
|
|
return m_nNumber;
|
|
}
|
|
|
|
void TGLightningRodData::GetInsertPoint(AcGePoint3d& ptInsert) const
|
|
{
|
|
ptInsert = m_ptInsert;
|
|
}
|
|
|
|
void TGLightningRodData::GetObjectID(AcDbObjectId& id) const
|
|
{
|
|
id = m_id;
|
|
}
|
|
|
|
void TGLightningRodData::SetGroundRadius(double dRadius)
|
|
{
|
|
m_dGroundRadius = dRadius;
|
|
}
|
|
|
|
void TGLightningRodData::SetHeight(double dHeight)
|
|
{
|
|
m_dHeight = dHeight;
|
|
}
|
|
|
|
void TGLightningRodData::SetNumber(int nNumber)
|
|
{
|
|
m_nNumber = nNumber;
|
|
}
|
|
|
|
void TGLightningRodData::SetInsertPoint(AcGePoint3d ptInsert)
|
|
{
|
|
m_ptInsert = ptInsert;
|
|
}
|
|
|
|
void TGLightningRodData::SetObjectID(AcDbObjectId id)
|
|
{
|
|
m_id = id;
|
|
}
|
|
|
|
int TGLightningRodData::GetGroupNO() const
|
|
{
|
|
return m_nGroupNO;
|
|
}
|
|
|
|
void TGLightningRodData::SetGroupNO(int nNO)
|
|
{
|
|
m_nGroupNO = nNO;
|
|
}
|