Skip to content

Commit

Permalink
doxymentation
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Nov 21, 2016
1 parent 5cbf9d5 commit d0f8863
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/analysis/network/qgsspeedarcproperter.h
Expand Up @@ -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:
Expand Down

0 comments on commit d0f8863

Please sign in to comment.