Qt Mobility Reference Documentation

QGeoMapCircleObject Class Reference

The QGeoMapCircleObject class is a QGeoMapObject used to draw the region within a certain distance of a coordinate. More...

 #include <QGeoMapCircleObject>

Inherits QGeoMapObject.


Public Functions

QGeoMapCircleObject ( QGeoMapObject * parent = 0 )
~QGeoMapCircleObject ()
QGeoCoordinate center () const
qreal radius () const
void setCenter ( const QGeoCoordinate & center )
void setRadius ( qreal radius )

Additional Inherited Members


Detailed Description

The QGeoMapCircleObject class is a QGeoMapObject used to draw the region within a certain distance of a coordinate.

TODO add pen and brush attributes as per alignment doc


Member Function Documentation

QGeoMapCircleObject::QGeoMapCircleObject ( QGeoMapObject * parent = 0 )

Constructs a new circle object with the specified parent.

QGeoMapCircleObject::~QGeoMapCircleObject ()

Destroys this circle object.

QGeoCoordinate QGeoMapCircleObject::center () const

Returns the center of the circle object.

See also setCenter().

qreal QGeoMapCircleObject::radius () const

Returns the radius of the circle object in metres.

See also setRadius().

void QGeoMapCircleObject::setCenter ( const QGeoCoordinate & center )

Sets the center of the circle object to center.

See also center().

void QGeoMapCircleObject::setRadius ( qreal radius )

Sets the radius of the circle object to radius metres.

See also radius().


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