# Module_Qt_Geography **Repository Path**: soadmin/Qt_GeoPolygon ## Basic Information - **Project Name**: Module_Qt_Geography - **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-02-15 - **Last Updated**: 2020-12-19 ## 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;