QGIS API Documentation  3.0.2-Girona (307d082)
Functions
qgsinternalgeometryengine.cpp File Reference
#include "qgsinternalgeometryengine.h"
#include "qgslinestring.h"
#include "qgsmultipolygon.h"
#include "qgspolygon.h"
#include "qgsmulticurve.h"
#include "qgsgeometry.h"
#include "qgsgeometryutils.h"
#include <QTransform>
#include <memory>
#include <queue>
Include dependency graph for qgsinternalgeometryengine.cpp:

Go to the source code of this file.

Functions

QgsVector calcMotion (const QgsPoint &a, const QgsPoint &b, const QgsPoint &c, double lowerThreshold, double upperThreshold)
 
QgsAbstractGeometrydensifyGeometry (const QgsAbstractGeometry *geom, int extraNodesPerSegment=1, double distance=1)
 
QgsLineStringdoDensify (const QgsLineString *ring, int extraNodesPerSegment=-1, double distance=1)
 
QgsLineStringdoOrthogonalize (QgsLineString *ring, int iterations, double tolerance, double lowerThreshold, double upperThreshold)
 
bool dotProductWithinAngleTolerance (double dotProduct, double lowerThreshold, double upperThreshold)
 
double normalizedDotProduct (const QgsPoint &a, const QgsPoint &b, const QgsPoint &c)
 
QgsAbstractGeometryorthogonalizeGeom (const QgsAbstractGeometry *geom, int maxIterations, double tolerance, double lowerThreshold, double upperThreshold)
 
double squareness (QgsLineString *ring, double lowerThreshold, double upperThreshold)
 

Function Documentation

◆ calcMotion()

QgsVector calcMotion ( const QgsPoint a,
const QgsPoint b,
const QgsPoint c,
double  lowerThreshold,
double  upperThreshold 
)

Definition at line 352 of file qgsinternalgeometryengine.cpp.

◆ densifyGeometry()

QgsAbstractGeometry* densifyGeometry ( const QgsAbstractGeometry geom,
int  extraNodesPerSegment = 1,
double  distance = 1 
)

Definition at line 611 of file qgsinternalgeometryengine.cpp.

◆ doDensify()

QgsLineString* doDensify ( const QgsLineString ring,
int  extraNodesPerSegment = -1,
double  distance = 1 
)

Definition at line 520 of file qgsinternalgeometryengine.cpp.

◆ doOrthogonalize()

QgsLineString* doOrthogonalize ( QgsLineString ring,
int  iterations,
double  tolerance,
double  lowerThreshold,
double  upperThreshold 
)

Definition at line 383 of file qgsinternalgeometryengine.cpp.

◆ dotProductWithinAngleTolerance()

bool dotProductWithinAngleTolerance ( double  dotProduct,
double  lowerThreshold,
double  upperThreshold 
)

Definition at line 290 of file qgsinternalgeometryengine.cpp.

◆ normalizedDotProduct()

double normalizedDotProduct ( const QgsPoint a,
const QgsPoint b,
const QgsPoint c 
)

Definition at line 295 of file qgsinternalgeometryengine.cpp.

◆ orthogonalizeGeom()

QgsAbstractGeometry* orthogonalizeGeom ( const QgsAbstractGeometry geom,
int  maxIterations,
double  tolerance,
double  lowerThreshold,
double  upperThreshold 
)

Definition at line 453 of file qgsinternalgeometryengine.cpp.

◆ squareness()

double squareness ( QgsLineString ring,
double  lowerThreshold,
double  upperThreshold 
)

Definition at line 308 of file qgsinternalgeometryengine.cpp.