19 #ifndef QGSLABELSEARCHTREE_H
20 #define QGSLABELSEARCHTREE_H
27 #include <labelposition.h>
46 void label(
const QgsPoint& p, QList<QgsLabelPosition*>& posList )
const;
52 void labelsInRect(
const QgsRectangle& r, QList<QgsLabelPosition*>& posList )
const;
58 bool insertLabel( LabelPosition* labelPos,
int featureId,
const QString& layerName,
const QString& labeltext,
const QFont& labelfont,
bool diagram =
false,
bool pinned =
false );
65 #endif // QGSLABELTREE_H
A rectangle specified with double values.
A class to query the labeling structure at a given point (small wraper around pal RTree class) ...
A class to represent a point geometry.
RTree< QgsLabelPosition *, double, 2, double > mSpatialIndex