//-----------------------------------------------------------------------------+ // Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd. // = FileName : TGGeCurve 类 // = Version : ver2.0 // = Author : wlw // = CreateDate : 2002-09-09 // = Description: TGGeCurve 类声明 // = Maintainers: // //-----------------------------------------------------------------------------+ #ifndef _TGGECURVE_H_ #define _TGGECURVE_H_ #ifndef _TGGEENTITY_H_ #include "TGGeEntity.h" #endif class GEOAPI TGGeCurve : public TGGeEntity { public: virtual bool IsKindOf(TEntityId entType) const; virtual TEntityId Type() const; virtual void TransformBy(ads_matrix mat); virtual int GetExtend(TADSGePoint3d &ptlow, TADSGePoint3d &ptup) const; //图形长度,周长 virtual ads_real GetLength() const; virtual int Make(const TCHAR *szlay = NULL) const; virtual int MakeEntity(const TEntitySet* pEntity) const; virtual int HitTest2d(const TADSGePoint3d &ptTest) const; virtual int OSnap(int nMode, TADSGePoint3d &ptPick) const; protected: TGGeCurve(); virtual ~TGGeCurve(); }; #endif