Skip to content
Permalink
Browse files

doxymentation

  • Loading branch information
alexbruy committed Nov 21, 2016
1 parent 5cbf9d5 commit d0f8863e50f53c2a62c044344a9776208df02ee3
Showing with 11 additions and 0 deletions.
  1. +11 −0 src/analysis/network/qgsspeedarcproperter.h
@@ -20,14 +20,25 @@

/** \ingroup analysis
* \class QgsSpeedArcProperter
* \note added in QGIS 3.0
*
* \brief Used for calculating arc property taking into account travel time.
*/
class ANALYSIS_EXPORT QgsSpeedArcProperter : public QgsArcProperter
{
public:

/**
* Constructor for QgsSpeedArcProperter.
*/
QgsSpeedArcProperter( int attributeId, double defaultValue, double toMetricFactor );

//! Returns caluclated edge property
QVariant property( double distance, const QgsFeature& f ) const override;

/** QgsGraphDirector will call this method for fetching attributes
* needed to calculate arc properties from the source layer
*/
QgsAttributeList requiredAttributes() const override;

private:

0 comments on commit d0f8863

Please sign in to comment.