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

47 lines
1.2 KiB
C++

#ifndef AFX_TVIRTUALPIPECANAL_H__
#define AFX_TVIRTUALPIPECANAL_H__
#if _MSC_VER > 1000
#pragma once
#endif
class TDbCableWatch;
class TDbPipeCanal;
class TVirtualPipeCanal : public TDbCurveEntity
{
public:
TVirtualPipeCanal();
~TVirtualPipeCanal();
//cet 2012.3.26 add 是否绘制转盘
void EnabelDrawWatch(bool bEnabel);
//设置转盘最小角度
void SetAverageAng(double dAng);
//设置转盘起始向量
void SetStartVector(const AcGeVector3d &vt);
//设置表盘起始点
void SetCenPoint(const AcGePoint3d &pt);
//设置文字
void SetText(const AcGePoint3d& pt,LPCTSTR lpText);
void SetPanState(BOOL bClose);
//得到转盘法向量
void GetNormal(AcGeVector3d &vtNorm);
//传进来方沟指针
void SetCanalPtr(TDbPipeCanal *&pCanal);
//设置方沟起点
void SetCanalStartPt(const AcGePoint3d &pt);
//设置方沟终点
void SetCanalEndPt(const AcGePoint3d &pt);
//{{AFX_ARX_METHODS(TDbCableWatch)
virtual Acad::ErrorStatus ExplodeOrDraw2d(XExplodeDraw &mode) const;
//}}AFX_ARX_METHODS
private:
TDbCableWatch *m_pWatch;
TDbPipeCanal *m_pCanal;
bool m_bDrawWatch; // cet 2012.3.26 add 是否绘制转盘
};
#endif // !defined(AFX_TVIRTUALPIPECANAL_H__8D0378D9_B706_482A_8BA0_61609329BE37__INCLUDED_)