Obsolete Members for QGeoShape

以下成員源於類 QGeoShape 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。

公共函數

(obsolete) void extendShape (const QGeoCoordinate & coordinate )

成員函數文檔編製

void QGeoShape:: extendShape (const QGeoCoordinate & coordinate )

This method used to extend the geo shape to also cover the coordinate coordinate .

It currently only works for QGeoCircle and QGeoRectangle , on which the functionality remains, now also accessible through QGeoCircle::extendCircle and QGeoRectangle::extendRectangle .

This method should therefore not be called on a generic QGeoShape any longer, as the behavior for other shape types is undefined.

另請參閱 QGeoRectangle::extendRectangle and QGeoCircle::extendCircle .