mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04:00
86 lines
2.3 KiB
Plaintext
86 lines
2.3 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/labeling/qgslabelsearchtree.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.py again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class QgsLabelSearchTree
|
|
{
|
|
%Docstring(signature="appended")
|
|
Queries the labeling structure at a given point.
|
|
|
|
This class is a small wrapper around the pal RTree class.
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgslabelsearchtree.h"
|
|
%End
|
|
public:
|
|
|
|
QgsLabelSearchTree();
|
|
~QgsLabelSearchTree();
|
|
|
|
|
|
void clear() /Deprecated="Since 3.40. Has no effect since QGIS 3.12."/;
|
|
%Docstring
|
|
Removes and deletes all the entries.
|
|
|
|
.. deprecated:: 3.40
|
|
|
|
Has no effect since QGIS 3.12.
|
|
%End
|
|
|
|
|
|
|
|
|
|
QList< QgsLabelPosition > allLabels() const;
|
|
%Docstring
|
|
Returns a list of all labels generated by the labeling run.
|
|
|
|
.. versionadded:: 3.20
|
|
%End
|
|
|
|
|
|
|
|
|
|
QList<const QgsCalloutPosition *> calloutsInRectangle( const QgsRectangle &rectangle ) const;
|
|
%Docstring
|
|
Returns the list of callouts with origins or destinations inside the
|
|
given ``rectangle``.
|
|
|
|
The ``rectangle`` is specified in map coordinates.
|
|
|
|
QgsLabelSearchTree keeps ownership, don't delete the returned objects.
|
|
|
|
.. versionadded:: 3.20
|
|
%End
|
|
|
|
|
|
void setMapSettings( const QgsMapSettings &settings );
|
|
%Docstring
|
|
Sets the map ``settings`` associated with the labeling run.
|
|
|
|
.. versionadded:: 3.4.8
|
|
%End
|
|
|
|
private:
|
|
QgsLabelSearchTree( const QgsLabelSearchTree &rh );
|
|
QgsLabelSearchTree &operator=( const QgsLabelSearchTree & );
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/labeling/qgslabelsearchtree.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.py again *
|
|
************************************************************************/
|