Qt Mobility Reference Documentation

QGeoBoundingBox Class Reference

The QGeoBoundingBox class defines a rectangular geographic area. More...

 #include <QGeoBoundingBox>

Public Functions

QGeoBoundingBox ()
QGeoBoundingBox ( const QGeoCoordinate & center, double degreesWidth, double degreesHeight )
QGeoBoundingBox ( const QGeoCoordinate & topLeft, const QGeoCoordinate & bottomRight )
QGeoBoundingBox ( const QGeoBoundingBox & other )
~QGeoBoundingBox ()
QGeoCoordinate bottomLeft () const
QGeoCoordinate bottomRight () const
QGeoCoordinate center () const
bool contains ( const QGeoCoordinate & coordinate ) const
bool contains ( const QGeoBoundingBox & boundingBox ) const
double height ()
QGeoBoundingBox intersected ( const QGeoBoundingBox & boundingBox ) const
bool intersects ( const QGeoBoundingBox & boundingBox ) const
bool isEmpty () const
bool isValid () const
void setCenter ( const QGeoCoordinate & center )
void setHeight ( double degreesHeight )
void setWidth ( double degreesWidth )
QGeoCoordinate topLeft () const
QGeoCoordinate topRight () const
void translate ( double degreesLatitude, double degreesLongitude )
QGeoBoundingBox translated ( double degreesLatitude, double degreesLongitude ) const
QGeoBoundingBox united ( const QGeoBoundingBox & boundingBox ) const
double width () const
bool operator!= ( const QGeoBoundingBox & other ) const
QGeoBoundingBox operator& ( const QGeoBoundingBox & boundingBox ) const
QGeoBoundingBox & operator&= ( const QGeoBoundingBox & boundingBox )
QGeoBoundingBox & operator= ( const QGeoBoundingBox & other )
bool operator== ( const QGeoBoundingBox & other ) const
QGeoBoundingBox operator| ( const QGeoBoundingBox & boundingBox ) const
QGeoBoundingBox & operator|= ( const QGeoBoundingBox & boundingBox )

Detailed Description

The QGeoBoundingBox class defines a rectangular geographic area.


Member Function Documentation

QGeoBoundingBox::QGeoBoundingBox ()

QGeoBoundingBox::QGeoBoundingBox ( const QGeoCoordinate & center, double degreesWidth, double degreesHeight )

QGeoBoundingBox::QGeoBoundingBox ( const QGeoCoordinate & topLeft, const QGeoCoordinate & bottomRight )

QGeoBoundingBox::QGeoBoundingBox ( const QGeoBoundingBox & other )

QGeoBoundingBox::~QGeoBoundingBox ()

QGeoCoordinate QGeoBoundingBox::bottomLeft () const

QGeoCoordinate QGeoBoundingBox::bottomRight () const

QGeoCoordinate QGeoBoundingBox::center () const

See also setCenter().

bool QGeoBoundingBox::contains ( const QGeoCoordinate & coordinate ) const

bool QGeoBoundingBox::contains ( const QGeoBoundingBox & boundingBox ) const

double QGeoBoundingBox::height ()

See also setHeight().

QGeoBoundingBox QGeoBoundingBox::intersected ( const QGeoBoundingBox & boundingBox ) const

bool QGeoBoundingBox::intersects ( const QGeoBoundingBox & boundingBox ) const

bool QGeoBoundingBox::isEmpty () const

bool QGeoBoundingBox::isValid () const

void QGeoBoundingBox::setCenter ( const QGeoCoordinate & center )

See also center().

void QGeoBoundingBox::setHeight ( double degreesHeight )

See also height().

void QGeoBoundingBox::setWidth ( double degreesWidth )

See also width().

QGeoCoordinate QGeoBoundingBox::topLeft () const

QGeoCoordinate QGeoBoundingBox::topRight () const

void QGeoBoundingBox::translate ( double degreesLatitude, double degreesLongitude )

QGeoBoundingBox QGeoBoundingBox::translated ( double degreesLatitude, double degreesLongitude ) const

QGeoBoundingBox QGeoBoundingBox::united ( const QGeoBoundingBox & boundingBox ) const

double QGeoBoundingBox::width () const

See also setWidth().

bool QGeoBoundingBox::operator!= ( const QGeoBoundingBox & other ) const

QGeoBoundingBox QGeoBoundingBox::operator& ( const QGeoBoundingBox & boundingBox ) const

QGeoBoundingBox & QGeoBoundingBox::operator&= ( const QGeoBoundingBox & boundingBox )

QGeoBoundingBox & QGeoBoundingBox::operator= ( const QGeoBoundingBox & other )

bool QGeoBoundingBox::operator== ( const QGeoBoundingBox & other ) const

QGeoBoundingBox QGeoBoundingBox::operator| ( const QGeoBoundingBox & boundingBox ) const

QGeoBoundingBox & QGeoBoundingBox::operator|= ( const QGeoBoundingBox & boundingBox )


Copyright © 2009-2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.1.0