QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
qgsdistancearcproperter.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsedgeproperter.h
3  --------------------------------------
4  Date : 2011-04-01
5  Copyright : (C) 2010 by Yakushev Sergey
6  Email : YakushevS <at> list.ru
7 ****************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
15 
16 #ifndef QGSEDGEDISTANCEPROPERTERH
17 #define QGSEDGEDISTANCEPROPERTERH
18 
19 // QT4 includes
20 #include <QVariant>
21 
22 // QGIS includes
23 #include <qgsarcproperter.h>
24 
28 class ANALYSIS_EXPORT QgsDistanceArcProperter : public QgsArcProperter
29 {
30  public:
31  virtual QVariant property( double distance, const QgsFeature& ) const override;
32 };
33 #endif //QGSEDGEDISTANCEPROPERTYH
virtual QVariant property(double distance, const QgsFeature &f) const
calculate and return adge property
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
Definition: qgsfeature.h:187
QgsArcProperter is a strategy pattern.