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

29 lines
743 B
C++

#pragma once
#include "dbjig.h"
#include "TDbUnderGroundRamp.h"
class XDrawUGRampEdJig :
public AcEdJig
{
public:
XDrawUGRampEdJig();
virtual ~XDrawUGRampEdJig();
void doIt();
virtual DragStatus sampler();
virtual Adesk::Boolean update();
virtual AcDbEntity* entity() const;
void SetRampDrawStyle(int nDrawStyle);
//设置道路左边线(左边线为基线)
void SetRampPoly(XPoly2D &rampPolyBase);
int GetRetCode(int *kwordId=NULL) const;
void SetPreview(XPoly2D &rampPolyBase);
TDbUnderGroundRamp *m_pDrawEnt;
int m_nRetCode; //返回码
const TCHAR *m_pszPrompt; //提示信息
const TCHAR *m_pszKeyword; //关键字
int m_nFlag;
double m_nRadius;
XPoint m_ptStart, m_ptEnd, m_ptAny;
XPoly2D m_rampPolyBase;
};