/************************************************************************ * 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") A class to query the labeling structure at a given point (small wrapper around pal RTree class) %End %TypeHeaderCode #include "qgslabelsearchtree.h" %End public: QgsLabelSearchTree(); ~QgsLabelSearchTree(); void clear() /Deprecated/; %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 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 * ************************************************************************/