#pragma once #include #include #include #include #include #include #include #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 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(); }