//-----------------------------------------------------------------------------+ // Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd. // = FileName : TGGeDbCurveEntity 类 // = Version : ver2.0 // = Author : wlw // = CreateDate : 2002-09-09 // = Description: TGGeDbCurveEntity 声明 // = Maintainers: // //-----------------------------------------------------------------------------+ #ifndef _TGGEDBCURVEENTITY_H_ #define _TGGEDBCURVEENTITY_H_ #ifndef _TGGEPOLY2D_H_ #include "TGGePoly2D.h" #endif #ifndef _TDPTRLIST_H_ #include "TDPtrList.h" #endif class GEOAPI TGGeDbCurveEntity { public: virtual ~TGGeDbCurveEntity(){}; virtual AcDbEntity* CreateAcDbEntity()const{return NULL;} //外部释放 virtual void CutBy(const TGGePoly2D &poly,TDPtrList&lstIn,TDPtrList&lstOut,TDPtrList&lstEdge)const{}; public: static TGGeDbCurveEntity* CreateFrom(const AcDbEntity&ent); }; #endif