Files
envi-code/SourceCode/Code2026/tg_shs/inc/TArch/TDbExtentsZoneCell.h
T

50 lines
1.3 KiB
C++
Raw Normal View History

2026-10-04 00:04:20 +08:00
//------------------------------------------------------------------------+
2026-09-28 15:28:50 +08:00
// Copyright (C), 1998-2011, Beijing Tangent Software Co. Ltd.
2026-10-04 00:04:20 +08:00
// = FileName : TDbExtentsZoneCell类
2026-09-28 15:28:50 +08:00
// = Version : ver1.0
// = Author : xlc
// = CreateDate : 2011-06-29
2026-10-04 00:04:20 +08:00
// = Description: 分区单元类声明
2026-09-28 15:28:50 +08:00
// = 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:
2026-10-04 00:04:20 +08:00
AcDbObjectId m_id; //对象id
AcGePoint3d m_ptMin; //对象包围盒最小点
AcGePoint3d m_ptMax; //对象包围盒最大点
TCHAR m_szDxf[20]; //对象DXF码
2026-09-28 15:28:50 +08:00
};
#endif
#endif