The QGeoBoundingCircle class defines a circular geographic area.
The circle is defined in terms of a QGeoCoordinate which specifies the center of the circle and a qreal which specifies the radius of the circle in metres.
The circle is considered invalid if the center coordinate is invalid or if the radius is less than zero.
Public Functions Index
|QGeoBoundingCircle (const QGeoCoordinate ¢er, qreal radius)|
|QGeoBoundingCircle (const QGeoBoundingCircle &other)|
|QGeoCoordinate||center () const|
|virtual bool||contains (const QGeoCoordinate &coordinate) const|
|virtual bool||isEmpty () const|
|virtual bool||isValid () const|
|bool||operator!= (const QGeoBoundingCircle &other) const|
|QGeoBoundingCircle &||operator= (const QGeoBoundingCircle &other)|
|bool||operator== (const QGeoBoundingCircle &other) const|
|qreal||radius () const|
|void||setCenter (const QGeoCoordinate ¢er)|
|void||setRadius (qreal radius)|
|void||translate (double degreesLatitude, double degreesLongitude)|
|QGeoBoundingCircle||translated (double degreesLatitude, double degreesLongitude) const|
|virtual QGeoBoundingArea::AreaType||type () const|
(Only has inherited public types)
Describes the type of a bounding area.
BoxType A box shaped bounding area.
CircleType A circular bounding area.
Constructs a new, invalid bounding circle.
Constructs a new bounding circle centered at center and with a radius of radius metres.
Constructs a new bounding circle from the contents of other.
Returns the center coordinate of this bounding circle.
Returns whether the coordinate coordinate is contained within this bounding circle.
Returns whether this bounding circle has a geometrical area of zero.
Returns true if this bounding circle is invalid.
Returns whether this bounding circle is valid.
A valid bounding circle has a valid center coordinate and a radius greater than or equal to zero.
Returns whether this bounding circle is not equal to other.
Assigns other to this bounding circle and returns a reference to this bounding circle.
Returns whether this bounding circle is equal to other.
Returns the radius in meters of this bounding circle.
Sets the center coordinate of this bounding circle to center.
Sets the radius in meters of this bounding circle to radius.
Translates this bounding circle by degreesLatitude northwards and degreesLongitude eastwards.
Negative values of degreesLatitude and degreesLongitude correspond to southward and westward translation respectively.
Returns a copy of this bounding circle translated by degreesLatitude northwards and degreesLongitude eastwards.
© 2013 Digia Plc and/or its subsidiaries. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Documentation sources may be obtained from www.qt-project.org.