QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
|
QgsArcProperter is a strategy pattern. More...
#include <qgsarcproperter.h>
Public Member Functions | |
QgsArcProperter () | |
default constructor More... | |
virtual | ~QgsArcProperter () |
virtual QVariant | property (double distance, const QgsFeature &f) const |
calculate and return adge property More... | |
virtual QgsAttributeList | requiredAttributes () const |
QgsGraphDirector call this method for fetching attribute from source layer. More... | |
QgsArcProperter is a strategy pattern.
You can use it for customize arc property. For example look at QgsDistanceArcProperter or src/plugins/roadgraph/speedproperter.h
Definition at line 32 of file qgsarcproperter.h.
|
inline |
default constructor
Definition at line 38 of file qgsarcproperter.h.
|
inlinevirtual |
Definition at line 40 of file qgsarcproperter.h.
|
inlinevirtual |
calculate and return adge property
Reimplemented in QgsDistanceArcProperter.
Definition at line 51 of file qgsarcproperter.h.
|
inlinevirtual |
QgsGraphDirector call this method for fetching attribute from source layer.
Definition at line 46 of file qgsarcproperter.h.