QGIS API Documentation
2.10.1-Pisa
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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:162
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 Sat Aug 22 2015 02:53:37 for QGIS API Documentation by
1.8.6