The QLandmarkBoxFilter class is used to search for landmarks within a given bounding box. More...
#include <QLandmarkBoxFilter>
Inherits QLandmarkFilter.
QLandmarkBoxFilter ( const QGeoBoundingBox & boundingBox = QGeoBoundingBox() ) | |
QLandmarkBoxFilter ( const QGeoCoordinate & topLeft, const QGeoCoordinate & bottomRight ) | |
QLandmarkBoxFilter ( const QLandmarkFilter & other ) | |
virtual | ~QLandmarkBoxFilter () |
QGeoCoordinate | bottomRight () |
QGeoBoundingBox | boundingBox () const |
void | setBottomRight ( const QGeoCoordinate & bottomRight ) |
void | setBoundingBox ( const QGeoBoundingBox & boundingBox ) |
void | setTopLeft ( const QGeoCoordinate & topLeft ) |
QGeoCoordinate | topLeft () |
The QLandmarkBoxFilter class is used to search for landmarks within a given bounding box.
In order to be a valid filter, the region covered by the box filter must not cover one of the poles.
Creates a filter that will search for landmarks within the boundingBox.
Creates a filter that will search for landmarks within a bounding box defined by the topLeft and bottomRight coordinates.
Constructs a copy of other if possible, otherwise constructs a new box filter.
Destroys the filter.
Returns the bottom right coordinate of the box filter.
See also setBottomRight().
Returns the filter's bounding box.
See also setBoundingBox().
Sets the bottomRight coordinate of the box filter.
See also bottomRight().
Sets the boundingBox of the filter.
See also boundingBox().
Sets the topLeft coordinate of the box filter.
See also topLeft().
Returns the top left coordinate of the box filter.
See also setTopLeft().