43 lines
1.1 KiB
C++
43 lines
1.1 KiB
C++
//-----------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
|
|
// = FileName : TGGeDbCurveSegEntity 类
|
|
// = Version : ver2.0
|
|
// = Author : wlw
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: TGGeDbCurveSegEntity 声明
|
|
// = Maintainers:
|
|
//
|
|
//-----------------------------------------------------------------------------+
|
|
#ifndef _TGGEDBCURVESEGENTITY_H_
|
|
#define _TGGEDBCURVESEGENTITY_H_
|
|
|
|
#ifndef _TGGEDBCURVEENTITY_H_
|
|
#include "TGGeDbCurveEntity.h"
|
|
#endif
|
|
|
|
#ifndef _TGGECURVESEGMENT_H_
|
|
#include "TGGeCurveSegment.h"
|
|
#endif
|
|
|
|
#ifndef _TDPTRLIST_H_
|
|
#include "TDPtrList.h"
|
|
#endif
|
|
|
|
|
|
class GEOAPI TGGeDbCurveSegEntity : public TGGeDbCurveEntity, public TGGeCurveSegment
|
|
{
|
|
public:
|
|
|
|
TGGeDbCurveSegEntity(const TGGeCurveSegment& seg):TGGeCurveSegment(seg){};
|
|
|
|
TGGeDbCurveSegEntity(const AcDbLine&line);
|
|
|
|
TGGeDbCurveSegEntity(const AcDbArc&arc);
|
|
|
|
virtual AcDbEntity* CreateAcDbEntity()const;
|
|
|
|
virtual void CutBy(const TGGePoly2D &poly,TDPtrList<TGGeDbCurveEntity>&lstIn,TDPtrList<TGGeDbCurveEntity>&lstOut,TDPtrList<TGGeDbCurveEntity>&lstEdge)const;
|
|
|
|
};
|
|
|
|
#endif |