📄 brcrossstruct.cpp
字号:
// BRCrossStruct.cpp: implementation of the CBRCrossStruct class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "GpsSC.h"
#include "BRCrossStruct.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
#define GPS_INFINITE 0x7fffffff
CBRCrossStruct::CBRCrossStruct()
{
m_Distance = GPS_INFINITE;
m_Double = 0;
m_Adjust = 2;
}
CBRCrossStruct::~CBRCrossStruct()
{
}
CBRCrossStruct& CBRCrossStruct::operator = (CBRCrossStruct& ds)
{
m_Distance = ds.m_Distance;
m_Adjust = ds.m_Adjust;
m_Double = ds.m_Double;
m_cCross = ds.m_cCross;
return *this;
}
void CBRCrossStruct::Clear()
{
m_Distance = GPS_INFINITE;
m_Double = 0;
m_Adjust = 2;
m_cCross.Clear();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -