QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
src
analysis
network
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
13
#include "
qgsdistancearcproperter.h
"
14
15
QVariant
QgsDistanceArcProperter::property
(
double
distance,
const
QgsFeature
& f )
const
16
{
17
Q_UNUSED( f );
18
return
QVariant
( distance );
19
}
QgsFeature
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
Definition:
qgsfeature.h:187
QgsDistanceArcProperter::property
virtual QVariant property(double distance, const QgsFeature &) const override
calculate and return adge property
Definition:
qgsdistancearcproperter.cpp:15
qgsdistancearcproperter.h
QVariant
Generated on Sun Jun 24 2018 11:42:48 for QGIS API Documentation by
1.8.13