Detailed Description
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.
Member Function Documentation
QLandmarkBoxFilter::QLandmarkBoxFilter ( const QGeoBoundingBox & boundingBox = QGeoBoundingBox() )
Creates a filter that will search for landmarks within the boundingBox.
QLandmarkBoxFilter::QLandmarkBoxFilter ( const QGeoCoordinate & topLeft, const QGeoCoordinate & bottomRight )
Creates a filter that will search for landmarks within a bounding box defined by the topLeft and bottomRight coordinates.
QLandmarkBoxFilter::QLandmarkBoxFilter ( const QLandmarkFilter & other )
Constructs a copy of other if possible, otherwise constructs a new box filter.
QLandmarkBoxFilter::~QLandmarkBoxFilter () [virtual]
Destroys the filter.
QGeoCoordinate QLandmarkBoxFilter::bottomRight ()
Returns the bottom right coordinate of the box filter.
See also setBottomRight().
QGeoBoundingBox QLandmarkBoxFilter::boundingBox () const
Returns the filter's bounding box.
See also setBoundingBox().
void QLandmarkBoxFilter::setBottomRight ( const QGeoCoordinate & bottomRight )
Sets the bottomRight coordinate of the box filter.
See also bottomRight().
void QLandmarkBoxFilter::setBoundingBox ( const QGeoBoundingBox & boundingBox )
Sets the boundingBox of the filter.
See also boundingBox().
void QLandmarkBoxFilter::setTopLeft ( const QGeoCoordinate & topLeft )
Sets the topLeft coordinate of the box filter.
See also topLeft().
QGeoCoordinate QLandmarkBoxFilter::topLeft ()
Returns the top left coordinate of the box filter.
See also setTopLeft().