File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 20
20
21
21
/* * \ingroup analysis
22
22
* \class QgsSpeedArcProperter
23
+ * \note added in QGIS 3.0
24
+ *
25
+ * \brief Used for calculating arc property taking into account travel time.
23
26
*/
24
27
class ANALYSIS_EXPORT QgsSpeedArcProperter : public QgsArcProperter
25
28
{
26
29
public:
30
+
31
+ /* *
32
+ * Constructor for QgsSpeedArcProperter.
33
+ */
27
34
QgsSpeedArcProperter ( int attributeId, double defaultValue, double toMetricFactor );
28
35
36
+ // ! Returns caluclated edge property
29
37
QVariant property ( double distance, const QgsFeature& f ) const override ;
30
38
39
+ /* * QgsGraphDirector will call this method for fetching attributes
40
+ * needed to calculate arc properties from the source layer
41
+ */
31
42
QgsAttributeList requiredAttributes () const override ;
32
43
33
44
private:
You can’t perform that action at this time.
0 commit comments