QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
qgsselectioncontext.cpp
Go to the documentation of this file.
1/***************************************************************************
2 qgsselectioncontext.cpp
3 --------------------------
4 begin : June 2022
5 copyright : (C) 2022 by Nyall Dawson
6 email : nyall dot dawson at gmail dot com
7 ***************************************************************************/
8/***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************/
16
17#include "qgsselectioncontext.h"
18
20{
21 mScale = scale;
22}
23
25{
26 return mScale;
27}
void setScale(double scale)
Sets the map scale at which the selection should occur.
double scale() const
Returns the map scale at which the selection should occur.