18 lines
423 B
C++
18 lines
423 B
C++
#pragma once
|
|
#include "GePoly2D.h"
|
|
#include "superlist.h"
|
|
|
|
class GeDbCurveEntity
|
|
{
|
|
public:
|
|
|
|
virtual ~GeDbCurveEntity(){};
|
|
|
|
virtual AcDbEntity* CreateAcDbEntity()const{return NULL;} //外部释放
|
|
|
|
virtual void CutBy(const GePoly2D &poly,PtrList<GeDbCurveEntity>&lstIn,PtrList<GeDbCurveEntity>&lstOut,PtrList<GeDbCurveEntity>&lstEdge)const{};
|
|
|
|
public:
|
|
|
|
static GeDbCurveEntity* CreateFrom(const AcDbEntity&ent);
|
|
}; |