# Qt_GeoShapes **Repository Path**: liangzc/Qt_GeoPolygon ## Basic Information - **Project Name**: Qt_GeoShapes - **Description**: 基于Qt的GUI库开发的地理信息模块,处理了180度经线的问题,包括:矩形、圆形、多边形。 - **Primary Language**: C++ - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 43 - **Created**: 2017-01-18 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #Qt_GeoPolygon ## 功能 使用Qt的QPolygonF类进行扩展,支持对地理多边形的使用。地理圆形和矩形,可以使用QGeoCircle和QGeoRectangular。 use x to represent longitude, y to represent longitude ## 接口 - explicit MyQtGeoPolygon(QVector paramGeoPointsInDegreesBeforeTranslate, bool *ok,QObject *parent = 0); - bool containsPoint(QPointF pointF, Qt::FillRule fillRule=Qt::OddEvenFill) ; - QPolygonF getPolygonFTranslated() const; - QVector getGeoPointsInDegreesBeforeTranslate() const; - QVector getGeoPointsInDegreeAfterTranslate() const;