45 lines
1.0 KiB
C++
45 lines
1.0 KiB
C++
//-----------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
|
|
// = FileName : TGGePoly3DÀà
|
|
// = Version : ver2.0
|
|
// = Author : wlw
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: TGGePoly3DÀàÉùÃ÷
|
|
// = Maintainers:
|
|
//
|
|
//-----------------------------------------------------------------------------+
|
|
#ifndef _TGGEPOLY3D_H_
|
|
#define _TGGEPOLY3D_H_
|
|
|
|
#ifndef _TGGEPOLY2D_H_
|
|
#include "TGGePoly2D.h"
|
|
#endif
|
|
|
|
class AcDbCurve;
|
|
|
|
class GEOAPI TGGePoly3D : public TGGePoly2D
|
|
{
|
|
public:
|
|
|
|
TGGePoly3D(int nFlag = 0);
|
|
TGGePoly3D(const TEntitySet & e);
|
|
TGGePoly3D(const TGGePoly2D& poly);
|
|
virtual ~TGGePoly3D();
|
|
|
|
virtual bool IsKindOf(TEntityId entType) const;
|
|
virtual TEntityId Type() const;
|
|
|
|
virtual AcDbCurve* AsAcDbCurve()const;
|
|
|
|
virtual bool SetAcDbCurve(AcDbCurve* pCurve);
|
|
|
|
bool IsPlanear()const;
|
|
|
|
AcGeVector3d GetNormal(bool bCheckConcave)const;
|
|
|
|
TGGePoly2D WcsToPlane()const;
|
|
|
|
TGGePoly2D WcsToPlane(const AcGeVector3d& vt)const;
|
|
};
|
|
|
|
#endif |