Skip to content

Commit

Permalink
Update qgspointlocator.h
Browse files Browse the repository at this point in the history
A very small but important change to the comments/API documentation. The nearestEdge method does not return multiple edges but only one edge.
  • Loading branch information
chau-intl committed Sep 15, 2016
1 parent 5e765c9 commit da6848d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgspointlocator.h
Expand Up @@ -184,7 +184,7 @@ class CORE_EXPORT QgsPointLocator : public QObject
//! Find nearest vertex to the specified point - up to distance specified by tolerance
//! Optional filter may discard unwanted matches.
Match nearestVertex( const QgsPoint& point, double tolerance, MatchFilter* filter = nullptr );
//! Find nearest edges to the specified point - up to distance specified by tolerance
//! Find nearest edge to the specified point - up to distance specified by tolerance
//! Optional filter may discard unwanted matches.
Match nearestEdge( const QgsPoint& point, double tolerance, MatchFilter* filter = nullptr );
//! Find edges within a specified recangle
Expand Down

0 comments on commit da6848d

Please sign in to comment.