QGeoBoundingArea ClassThe QGeoBoundingArea class defines a geographic area. More... #include <QGeoBoundingArea> Inherited by: QGeoBoundingBox and QGeoBoundingCircle. This class was introduced in Qt Location 5.0. Public Types
Public Functions
Detailed DescriptionThe QGeoBoundingArea class defines a geographic area. 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 meters. Member Type Documentation
|
Constant | Value | Description |
---|---|---|
QGeoBoundingArea::UnknownType | 0 | A bounding area of unknown type. |
QGeoBoundingArea::BoxType | 1 | A box shaped bounding area. |
QGeoBoundingArea::CircleType | 2 | A circular bounding area. |
Constructs a new invalid bounding area of UnknownType.
Constructs a new bounding area which is a copy of other.
Destroys this bounding area.
Returns whether the coordinate coordinate is contained within this area.
Returns whether this bounding area is empty.
An empty area is a region which has a geometrical area of 0.
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.
Returns the type of this area.
Returns true if the other bounding area is not equivalent to this bounding area, otherwise returns false.
Assigns other to this bounding area and returns a reference to this bounding area.
Returns true if the other bounding area is equivalent to this bounding area, otherwise returns false