📄 graticulecreator.h
字号:
/*************************************************************************** graticulecreator.h -------------------------------------- Date : Sun Sep 16 12:06:50 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 _GRATICULECREATOR_H_#define _GRATICULECREATOR_H_//qt includes#include <QString>//#include <qfile.h>//QGIS includes#include <qgsvectorfilewriter.h> //logic for writing shpfiles#include <qgsspatialrefsys.h> //needed for creating a srs#include <qgsfield.h> //defines fieldmap tooclass GraticuleCreator{ public: GraticuleCreator(QString theOutputFileName); ~GraticuleCreator() ; void generatePointGraticule( double theXIntervalDouble, double theYIntervalDouble, double theXOriginDouble, double theYOriginDouble, double theXEndPointDouble, double theYEndPointDouble); void generatePolygonGraticule( double theXIntervalDouble, double theYIntervalDouble, double theXOriginDouble, double theYOriginDouble, double theXEndPointDouble, double theYEndPointDouble); void generatePoints (QString theInputFileName ); private: QString mFileName; QString mEncoding; QgsVectorFileWriter::WriterError mError; QgsSpatialRefSys mSRS; QgsFieldMap mFields;};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -