2026-10-04 00:04:20 +08:00
|
|
|
//-----------------------------------------------------------------------------+
|
2026-09-28 15:28:50 +08:00
|
|
|
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
|
2026-10-04 00:04:20 +08:00
|
|
|
// = FileName : TGGeDbCurveEntity 类
|
2026-09-28 15:28:50 +08:00
|
|
|
// = Version : ver2.0
|
|
|
|
|
// = Author : wlw
|
|
|
|
|
// = CreateDate : 2002-09-09
|
2026-10-04 00:04:20 +08:00
|
|
|
// = Description: TGGeDbCurveEntity 声明
|
2026-09-28 15:28:50 +08:00
|
|
|
// = 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(){};
|
|
|
|
|
|
2026-10-04 00:04:20 +08:00
|
|
|
virtual AcDbEntity* CreateAcDbEntity()const{return NULL;} //外部释放
|
2026-09-28 15:28:50 +08:00
|
|
|
|
|
|
|
|
virtual void CutBy(const TGGePoly2D &poly,TDPtrList<TGGeDbCurveEntity>&lstIn,TDPtrList<TGGeDbCurveEntity>&lstOut,TDPtrList<TGGeDbCurveEntity>&lstEdge)const{};
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
static TGGeDbCurveEntity* CreateFrom(const AcDbEntity&ent);
|
|
|
|
|
};
|
|
|
|
|
#endif
|