QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Public Member Functions | List of all members
QgsPointLocator::MatchFilter Struct Referenceabstract

Interface that allows rejection of some matches in intersection queries (e.g. More...

#include <qgspointlocator.h>

Inheritance diagram for QgsPointLocator::MatchFilter:
Inheritance graph
[legend]

Public Member Functions

virtual ~MatchFilter ()
 
virtual bool acceptMatch (const Match &match)=0
 

Detailed Description

Interface that allows rejection of some matches in intersection queries (e.g.

a match can only belong to a particular feature / match must not be a particular point). Implement the interface and pass its instance to QgsPointLocator or QgsSnappingUtils methods.

Definition at line 176 of file qgspointlocator.h.

Constructor & Destructor Documentation

◆ ~MatchFilter()

virtual QgsPointLocator::MatchFilter::~MatchFilter ( )
inlinevirtual

Definition at line 178 of file qgspointlocator.h.

Member Function Documentation

◆ acceptMatch()

virtual bool QgsPointLocator::MatchFilter::acceptMatch ( const Match match)
pure virtual

Implemented in EdgesOnlyFilter.


The documentation for this struct was generated from the following file: