Files

42 lines
989 B
C++
Raw Permalink Normal View History

2026-10-04 00:04:20 +08:00
2026-09-28 15:28:50 +08:00
//-----------------------------------------------------------------------------+
// Copyright (C), 1998-2007, SH Software Co. Ltd.
// = FileName : XBlockTableRecordZone.h
// = Version : ver2.0
// = Author :
// = CreateDate : 2002-09-09
2026-10-04 00:04:20 +08:00
// = Description: 模型空间的分区
2026-09-28 15:28:50 +08:00
// = Maintainers:
//
//-----------------------------------------------------------------------------+
#ifndef _XBlockTableRecordZone_H__
#define _XBlockTableRecordZone_H__
#if _MSC_VER > 1000
#pragma once
#endif
#include <map>
class XBlockTableRecordZone
{
public:
XBlockTableRecordZone();
virtual ~XBlockTableRecordZone();
bool getGeomExtents(const AcDbObjectId& id,AcDbExtents& ext);
bool setGeomExtents(const AcDbObjectId& id,AcDbExtents& ext);
void remove(const AcDbObjectId& id);
void setActive(bool bActive);
bool isActive();
protected:
int m_nActiveRefCount;
std::map<AcDbObjectId,AcDbExtents> m_mapIdToExt;
};
#endif //_XBlockTableRecordZone_H__