QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
#include "qgsinternalgeometryengine.h"
#include "qgslinestring.h"
#include "qgsmultipolygon.h"
#include "qgspolygon.h"
#include "qgsmulticurve.h"
#include "qgscircularstring.h"
#include "qgsgeometry.h"
#include "qgsgeometryutils.h"
#include "qgslinesegment.h"
#include "qgscircle.h"
#include "qgslogger.h"
#include "qgstessellator.h"
#include "qgsfeedback.h"
#include <QTransform>
#include <functional>
#include <memory>
#include <queue>
#include <random>
Go to the source code of this file.
Functions | |
QgsVector | calcMotion (const QgsPoint &a, const QgsPoint &b, const QgsPoint &c, double lowerThreshold, double upperThreshold) |
std::unique_ptr< QgsAbstractGeometry > | convertGeometryToCurves (const QgsAbstractGeometry *geom, double distanceTolerance, double angleTolerance) |
QgsAbstractGeometry * | densifyGeometry (const QgsAbstractGeometry *geom, int extraNodesPerSegment=1, double distance=1) |
QgsLineString * | doDensify (const QgsLineString *ring, int extraNodesPerSegment=-1, double distance=1) |
QgsLineString * | doOrthogonalize (QgsLineString *ring, int iterations, double tolerance, double lowerThreshold, double upperThreshold) |
bool | dotProductWithinAngleTolerance (double dotProduct, double lowerThreshold, double upperThreshold) |
QVector< QgsPointXY > | generateSegmentCurve (const QgsPoint ¢er1, const double radius1, const QgsPoint ¢er2, const double radius2) |
std::unique_ptr< QgsCompoundCurve > | lineToCurve (const QgsLineString *lineString, double distanceTolerance, double pointSpacingAngleTolerance) |
double | normalizedDotProduct (const QgsPoint &a, const QgsPoint &b, const QgsPoint &c) |
QgsAbstractGeometry * | orthogonalizeGeom (const QgsAbstractGeometry *geom, int maxIterations, double tolerance, double lowerThreshold, double upperThreshold) |
double | squareness (QgsLineString *ring, double lowerThreshold, double upperThreshold) |
QgsVector calcMotion | ( | const QgsPoint & | a, |
const QgsPoint & | b, | ||
const QgsPoint & | c, | ||
double | lowerThreshold, | ||
double | upperThreshold | ||
) |
Definition at line 359 of file qgsinternalgeometryengine.cpp.
std::unique_ptr< QgsAbstractGeometry > convertGeometryToCurves | ( | const QgsAbstractGeometry * | geom, |
double | distanceTolerance, | ||
double | angleTolerance | ||
) |
Definition at line 1359 of file qgsinternalgeometryengine.cpp.
QgsAbstractGeometry* densifyGeometry | ( | const QgsAbstractGeometry * | geom, |
int | extraNodesPerSegment = 1 , |
||
double | distance = 1 |
||
) |
Definition at line 620 of file qgsinternalgeometryengine.cpp.
QgsLineString* doDensify | ( | const QgsLineString * | ring, |
int | extraNodesPerSegment = -1 , |
||
double | distance = 1 |
||
) |
Definition at line 529 of file qgsinternalgeometryengine.cpp.
QgsLineString* doOrthogonalize | ( | QgsLineString * | ring, |
int | iterations, | ||
double | tolerance, | ||
double | lowerThreshold, | ||
double | upperThreshold | ||
) |
Definition at line 390 of file qgsinternalgeometryengine.cpp.
bool dotProductWithinAngleTolerance | ( | double | dotProduct, |
double | lowerThreshold, | ||
double | upperThreshold | ||
) |
Definition at line 297 of file qgsinternalgeometryengine.cpp.
QVector<QgsPointXY> generateSegmentCurve | ( | const QgsPoint & | center1, |
const double | radius1, | ||
const QgsPoint & | center2, | ||
const double | radius2 | ||
) |
Definition at line 868 of file qgsinternalgeometryengine.cpp.
std::unique_ptr< QgsCompoundCurve > lineToCurve | ( | const QgsLineString * | lineString, |
double | distanceTolerance, | ||
double | pointSpacingAngleTolerance | ||
) |
Definition at line 1174 of file qgsinternalgeometryengine.cpp.
Definition at line 302 of file qgsinternalgeometryengine.cpp.
QgsAbstractGeometry* orthogonalizeGeom | ( | const QgsAbstractGeometry * | geom, |
int | maxIterations, | ||
double | tolerance, | ||
double | lowerThreshold, | ||
double | upperThreshold | ||
) |
Definition at line 462 of file qgsinternalgeometryengine.cpp.
double squareness | ( | QgsLineString * | ring, |
double | lowerThreshold, | ||
double | upperThreshold | ||
) |
Definition at line 315 of file qgsinternalgeometryengine.cpp.