📄 qgsleastsquares.h
字号:
/*************************************************************************** qgsleastsquares.h -------------------------------------- Date : Sun Sep 16 12:03:47 AKDT 2007 Copyright : (C) 2007 by Gary E. Sherman Email : sherman at mrcc dot com *************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/#ifndef QGSLEASTSQUARES_H#define QGSLEASTSQUARES_H#include <vector>#include <cstdarg>#include <stdexcept>#include "qgspoint.h"class QgsLeastSquares { public: static void linear(std::vector<QgsPoint> mapCoords, std::vector<QgsPoint> pixelCoords, QgsPoint& origin, double& pixelXSize, double& pixelYSize); static void helmert(std::vector<QgsPoint> mapCoords, std::vector<QgsPoint> pixelCoords, QgsPoint& origin, double& pixelSize, double& rotation); static void affine(std::vector<QgsPoint> mapCoords, std::vector<QgsPoint> pixelCoords); };#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -