QGIS API Documentation 3.41.0-Master (3440c17df1d)
|
Encapsulates the context of a layer selection operation. More...
#include <qgsselectioncontext.h>
Public Member Functions | |
double | scale () const |
Returns the map scale at which the selection should occur. | |
void | setScale (double scale) |
Sets the map scale at which the selection should occur. | |
Encapsulates the context of a layer selection operation.
Definition at line 29 of file qgsselectioncontext.h.
double QgsSelectionContext::scale | ( | ) | const |
Returns the map scale at which the selection should occur.
The scale value indicates the scale denominator, e.g. 1000.0 for a 1:1000 map.
Definition at line 24 of file qgsselectioncontext.cpp.
void QgsSelectionContext::setScale | ( | double | scale | ) |
Sets the map scale at which the selection should occur.
The scale value indicates the scale denominator, e.g. 1000.0 for a 1:1000 map.
Definition at line 19 of file qgsselectioncontext.cpp.