18 lines
457 B
C++
18 lines
457 B
C++
#ifndef POSPARSER_H
|
||
#define POSPARSER_H
|
||
|
||
#include <QString>
|
||
#include <QVector>
|
||
#include <QVector3D>
|
||
|
||
class PosParser {
|
||
public:
|
||
// 加载 .pos 文件(4列:道号 X Y Z)
|
||
static bool loadPosFile(const QString &posFilePath, QVector<QVector3D> &outPositions);
|
||
|
||
// 加载 center.ccc 项目中心坐标(2列:纬度 经度)
|
||
static bool loadCenterCcc(const QString &cccFilePath, double &outLat, double &outLon);
|
||
};
|
||
|
||
#endif // POSPARSER_H
|