QGIS API Documentation  3.10.0-A Coruña (6c816b4204)
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>

Public Member Functions

virtual ~MatchFilter ()=default
 
virtual bool acceptMatch (const QgsPointLocator::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 223 of file qgspointlocator.h.

Constructor & Destructor Documentation

◆ ~MatchFilter()

virtual QgsPointLocator::MatchFilter::~MatchFilter ( )
virtualdefault

Member Function Documentation

◆ acceptMatch()

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

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