Files
envi-code/SourceCode/Code2026/tg_shs/inc/geo/TGGeCurve.h
T
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

40 lines
1.1 KiB
C++

//-----------------------------------------------------------------------------+
// 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