Skip to content
Permalink
Browse files

Update qgspointlocator.h

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 da6848d4be260ada814631bbdd94a32fe63a84db
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgspointlocator.h
@@ -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

0 comments on commit da6848d

Please sign in to comment.
You can’t perform that action at this time.