55 lines
1.1 KiB
C++
55 lines
1.1 KiB
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <sstream>
|
|
#include <vector>
|
|
#include <map>
|
|
#include <set>
|
|
#include <functional>
|
|
#include <algorithm>
|
|
|
|
#if defined(UNICODE) || defined(_UNICODE)
|
|
typedef std::wstring string;
|
|
typedef std::wstringstream stringstream;
|
|
typedef std::wfstream fstream;
|
|
#else
|
|
typedef std::string string;
|
|
typedef char cchar;
|
|
typedef const char *LPCTSTR;
|
|
typedef std::stringstream stringstream;
|
|
typedef std::fstream fstream;
|
|
#endif
|
|
|
|
template <class T_out, class T_in>
|
|
T_out _convert_(const T_in &v)
|
|
{
|
|
stringstream s;
|
|
s << v;
|
|
T_out result;
|
|
s >> result;
|
|
return result;
|
|
}
|
|
|
|
|
|
namespace StakeOper
|
|
{
|
|
void generateCenterLineOfRoad();
|
|
void generateCenterLineOfRoadByPoint();
|
|
void appendDwgCuter_ZT();
|
|
void appendDwgCuter_ZD();
|
|
void addStake();
|
|
void splite3DPolyline();
|
|
void spliteCenterLine();
|
|
void mapStack2Polyline();
|
|
void generateStake();
|
|
// ͨ¹ýµãÑ¡»æÖƹÜÀȺìÏß
|
|
void drawRedLineByCustom();
|
|
void modifyGradient();
|
|
void stretchEwByAngle();
|
|
void ew_test();
|
|
void extractStakeElevation();
|
|
void extractElevationByDwg();
|
|
void generateReferenceCurve();
|
|
}
|
|
|