31 lines
660 B
C++
31 lines
660 B
C++
#ifndef _TDBIMPBASE_H__
|
|
#define _TDBIMPBASE_H__
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif
|
|
|
|
class TDbImpBase
|
|
{
|
|
public:
|
|
TDbImpBase();
|
|
virtual ~TDbImpBase();
|
|
|
|
protected:
|
|
|
|
// 接口描述对象
|
|
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__
|