|
QGIS API Documentation 4.3.0-Master (16eddb2670e)
|
#include "qgstessellator.h"#include <algorithm>#include <earcut.hpp>#include <unordered_set>#include "poly2tri.h"#include "qgis.h"#include "qgscurve.h"#include "qgsgeometry.h"#include "qgsgeometryutils_base.h"#include "qgsmultipolygon.h"#include "qgspoint.h"#include "qgspolygon.h"#include "qgstriangle.h"#include <QMatrix4x4>#include <QVector3D>#include <QtDebug>#include <QtMath>
Go to the source code of this file.
Classes | |
| struct | float_pair_hash |
Functions | |
| double | minimumDistanceBetweenCoordinates (const QgsPolygon &polygon) |
| void | ringToEarcutPoints (const QgsLineString *ring, std::vector< std::array< double, 2 > > &polyline, std::vector< double > *zValues) |
| void | ringToPoly2tri (const QgsLineString *ring, std::vector< p2t::Point * > &polyline, QHash< p2t::Point *, float > *zHash) |
| double | roundCoord (double x) |
| QgsPolygon * | transformPolygonToNewBase (const QgsPolygon &polygon, const QgsPoint &pt0, const QMatrix4x4 *toNewBase, const float scale) |
| double minimumDistanceBetweenCoordinates | ( | const QgsPolygon & | polygon | ) |
Definition at line 470 of file qgstessellator.cpp.
| void ringToEarcutPoints | ( | const QgsLineString * | ring, |
| std::vector< std::array< double, 2 > > & | polyline, | ||
| std::vector< double > * | zValues ) |
Definition at line 558 of file qgstessellator.cpp.
| void ringToPoly2tri | ( | const QgsLineString * | ring, |
| std::vector< p2t::Point * > & | polyline, | ||
| QHash< p2t::Point *, float > * | zHash ) |
Definition at line 375 of file qgstessellator.cpp.
| double roundCoord | ( | double | x | ) |
Definition at line 408 of file qgstessellator.cpp.
| QgsPolygon * transformPolygonToNewBase | ( | const QgsPolygon & | polygon, |
| const QgsPoint & | pt0, | ||
| const QMatrix4x4 * | toNewBase, | ||
| const float | scale ) |
Definition at line 460 of file qgstessellator.cpp.