Files

54 lines
1.1 KiB
C++
Raw Permalink Normal View History

2026-10-04 00:04:20 +08:00
#pragma once
2026-09-28 15:28:50 +08:00
#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();
2026-10-04 00:04:20 +08:00
// 通过点选绘制管廊红线
2026-09-28 15:28:50 +08:00
void drawRedLineByCustom();
void modifyGradient();
void stretchEwByAngle();
void ew_test();
void extractStakeElevation();
void extractElevationByDwg();
void generateReferenceCurve();
}