QGIS API Documentation 3.29.0-Master (8c80f25a4f)
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 349 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: