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

33 lines
1.0 KiB
C++

#pragma once
class GlwUGRampDataManage
{
public:
GlwUGRampDataManage(void);
~GlwUGRampDataManage(void);
void UpdateDataManage(double dRampWidth, double dTurningRad, int nLOPLoc, BOOL bIsDrawMidLine, BOOL bIsDimArrow, int nArrowDrec, int nDrawStyle);
void SetRampWidth(double dRampWidth);
void SetTurningRad(double dTurningRad);
void SetLOPLoc(int nLOPLoc);
void SetIsDrawMidLine(BOOL bIsDrawMidLine);
void SetIsDimArrow(BOOL bIsDimArrow);
void SetArrowDrec(int nArrowDrec);
void SetDrawStyle(int nStyle);
double GetRampWidth();
double GetTurningRad();
int GetLOPLoc();
BOOL GetIsDrawMidLine();
BOOL GetIsDimArrow();
int GetArrowDrec();
int GetDrawStyle();
private:
int m_nDrawStyle; //绘制样式
double m_dRampWidth; //坡道宽
double m_dTurningRad; //转弯半径
int m_nLOPLoc; //定位线位置
BOOL m_bIsDrawMidLine; //是否绘制中心线
BOOL m_bIsDimArrow; //是否标注箭头
int m_nArrowDrec; //箭头方向
};