|
QGIS API Documentation 4.5.0-Master (3b5d115045b)
|
#include "qgstessellator.h"#include <algorithm>#include <earcut.hpp>#include <unordered_set>#include "poly2tri.h"#include "qgis.h"#include "qgsabstractgeometry.h"#include "qgscurve.h"#include "qgsgeometry.h"#include "qgsgeometryutils_base.h"#include "qgsmultipolygon.h"#include "qgspoint.h"#include "qgspolygon.h"#include "qgspolyhedralsurface.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 472 of file qgstessellator.cpp.
| void ringToEarcutPoints | ( | const QgsLineString * | ring, |
| std::vector< std::array< double, 2 > > & | polyline, | ||
| std::vector< double > * | zValues ) |
Definition at line 560 of file qgstessellator.cpp.
| void ringToPoly2tri | ( | const QgsLineString * | ring, |
| std::vector< p2t::Point * > & | polyline, | ||
| QHash< p2t::Point *, float > * | zHash ) |
Definition at line 377 of file qgstessellator.cpp.
| double roundCoord | ( | double | x | ) |
Definition at line 410 of file qgstessellator.cpp.
| QgsPolygon * transformPolygonToNewBase | ( | const QgsPolygon & | polygon, |
| const QgsPoint & | pt0, | ||
| const QMatrix4x4 * | toNewBase, | ||
| const float | scale ) |
Definition at line 462 of file qgstessellator.cpp.