Files
envi-code/SourceCode/Code2026/tg_shs/inc/TArch/TDbExtentsZoneCell.h
T
2026-09-28 15:28:50 +08:00

50 lines
1.3 KiB
C++

//------------------------------------------------------------------------+
// Copyright (C), 1998-2011, Beijing Tangent Software Co. Ltd.
// = FileName : TDbExtentsZoneCell类
// = Version : ver1.0
// = Author : xlc
// = CreateDate : 2011-06-29
// = Description: 分区单元类声明
// = Maintainers:
//
//------------------------------------------------------------------------+
#ifdef TASD
#ifndef _TDBEXTENTSZONECELL_H_
#define _TDBEXTENTSZONECELL_H_
class TARCH_EXP TDbExtentsZoneCell
{
public:
TDbExtentsZoneCell();
TDbExtentsZoneCell(const TDbExtentsZoneCell& src);
virtual ~TDbExtentsZoneCell();
TDbExtentsZoneCell& operator = (const TDbExtentsZoneCell& src);
bool operator == (const TDbExtentsZoneCell& src);
AcDbObjectId GetObjectId() const;
void SetObjectId(AcDbObjectId idObj);
AcGePoint3d GetPtMin() const;
void SetPtMin(AcGePoint3d ptMin);
AcGePoint3d GetPtMax() const;
void SetPtMax(AcGePoint3d ptMax);
CString GetDxf() const;
void SetDxf(LPCTSTR szDxf);
Acad::ErrorStatus dwgInFields(AcDbDwgFiler* pFiler);
Acad::ErrorStatus dwgOutFields(AcDbDwgFiler* pFiler) const;
private:
AcDbObjectId m_id; //对象id
AcGePoint3d m_ptMin; //对象包围盒最小点
AcGePoint3d m_ptMax; //对象包围盒最大点
TCHAR m_szDxf[20]; //对象DXF码
};
#endif
#endif