QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
qgsdistancearcproperter.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2011 by Sergey Yakushev *
3  * yakushevs <at >list.ru *
4  * *
5  * *
6  * This program is free software; you can redistribute it and/or modify *
7  * it under the terms of the GNU General Public License as published by *
8  * the Free Software Foundation; either version 2 of the License, or *
9  * (at your option) any later version. *
10  ***************************************************************************/
11 
12 //QGIS includes
14 
15 QVariant QgsDistanceArcProperter::property( double distance, const QgsFeature& f ) const
16 {
17  Q_UNUSED( f );
18  return QVariant( distance );
19 }
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
Definition: qgsfeature.h:187
virtual QVariant property(double distance, const QgsFeature &) const override
calculate and return adge property