Files
envi-code/SourceCode/Code2026/tg_shs/shs_pipebase/TDbImpBase.h
T

30 lines
660 B
C++
Raw Normal View History

2026-10-04 00:04:20 +08:00
#ifndef _TDBIMPBASE_H__
2026-09-28 15:28:50 +08:00
#define _TDBIMPBASE_H__
#if _MSC_VER > 1000
#pragma once
#endif
class TDbImpBase
{
public:
TDbImpBase();
virtual ~TDbImpBase();
protected:
2026-10-04 00:04:20 +08:00
// 接口描述对象
2026-09-28 15:28:50 +08:00
virtual BOOL GetInterface(int nIndex,TInterface& pipeInterface) const;
virtual BOOL GetInterface(const AcGePoint3d& ptCon,TInterface& pipeInterface) const;
virtual int GetInterfaceCount() const;
protected:
BOOL UpdateInterfaceRec(const AcDbObjectId& idOwner,const AcGeMatrix3d& xform,AcGePoint3d* ppOld = NULL);
BOOL UpdateInterfaceRec(const AcDbObjectId& idOwner,const AcGePoint3d ptGeOld,const AcGePoint3d& ptGeNew);
};
#endif //_TDBIMPBASE_H__