diff options
author | David Laing <david.laing@nokia.com> | 2010-09-02 19:01:01 +1000 |
---|---|---|
committer | David Laing <david.laing@nokia.com> | 2010-09-02 19:01:01 +1000 |
commit | c22f972b2cee9c2ee72c1b8cf48d0985d34c8180 (patch) | |
tree | c76911c1d90e5982d6d7f9be90678e38eca12f78 /src/location/qgeoboundingarea.cpp | |
parent | 13068267795e9da5243d72d821ba4f066d59bc79 (diff) |
Brought the Maps and Navigation documentation up to date.
Diffstat (limited to 'src/location/qgeoboundingarea.cpp')
-rw-r--r-- | src/location/qgeoboundingarea.cpp | 37 |
1 files changed, 35 insertions, 2 deletions
diff --git a/src/location/qgeoboundingarea.cpp b/src/location/qgeoboundingarea.cpp index e914662c3b..859dff32ee 100644 --- a/src/location/qgeoboundingarea.cpp +++ b/src/location/qgeoboundingarea.cpp @@ -45,31 +45,64 @@ QTM_BEGIN_NAMESPACE /*! \class QGeoBoundingArea - \brief The QGeoBoundingArea class defines a rectangular geographic area. + \brief The QGeoBoundingArea class defines a geographic area. \inmodule QtLocation \ingroup maps + + This class is the base class for classes which specify a geographic + area. + + For the sake of consistency, subclasses should describe the specific + details of the associated areas in terms of QGeoCoordinate instances + and distances in metres. +*/ + +/*! + \enum QGeoBoundingArea::AreaType + + Describes the type of a bounding area. + + \value BoxType A box shaped bounding area. + + \value CircleType A circular bounding area. */ /*! + Destroys this bounding area. */ QGeoBoundingArea::~QGeoBoundingArea() {} /*! -\fn virtual AreaType type() const +\fn virtual QGeoBoundingArea::AreaType QGeoBoundingArea::type() const + +Returns the type of this area. */ /*! \fn bool QGeoBoundingArea::isValid() const + +Returns whether this bounding area is valid. + +An area is considered to be invalid if some of the data that is required to +unambiguously describe the area has not been set or has been set to an +unsuitable value. */ /*! \fn bool QGeoBoundingArea::isEmpty() const + +Returns whether this bounding area is empty. + +An empty area is a region which has a geometrical area of 0. */ /*! \fn bool QGeoBoundingArea::contains(const QGeoCoordinate &coordinate) const + +Returns whether the coordinate \a coordinate is contained withing this +area. */ QTM_END_NAMESPACE |