|
| QgsInternalGeometryEngine (const QgsGeometry &geometry) |
| The caller is responsible that the geometry is available and unchanged for the whole lifetime of this object. More...
|
|
QgsGeometry | applyDashPattern (const QVector< double > &pattern, Qgis::DashPatternLineEndingRule startRule=Qgis::DashPatternLineEndingRule::NoRule, Qgis::DashPatternLineEndingRule endRule=Qgis::DashPatternLineEndingRule::NoRule, Qgis::DashPatternSizeAdjustment adjustment=Qgis::DashPatternSizeAdjustment::ScaleBothDashAndGap, double patternOffset=0) const |
| Applies a dash pattern to a geometry, returning a MultiLineString geometry which is the input geometry stroked along each line/ring with the specified pattern. More...
|
|
QgsGeometry | convertToCurves (double distanceTolerance, double angleTolerance) const |
| Attempts to convert a non-curved geometry into a curved geometry type (e.g. More...
|
|
QgsGeometry | densifyByCount (int extraNodesPerSegment) const |
| Densifies the geometry by adding the specified number of extra nodes within each segment of the geometry. More...
|
|
QgsGeometry | densifyByDistance (double distance) const |
| Densifies the geometry by adding regularly placed extra nodes inside each segment so that the maximum distance between any two nodes does not exceed the specified distance. More...
|
|
QgsGeometry | extrude (double x, double y) const |
| Will extrude a line or (segmentized) curve by a given offset and return a polygon representation of it. More...
|
|
bool | isAxisParallelRectangle (double maximumDeviation, bool simpleRectanglesOnly=false) const |
| Returns true if the geometry is a polygon that is almost an axis-parallel rectangle. More...
|
|
QString | lastError () const |
| Returns an error string referring to the last error encountered. More...
|
|
QgsGeometry | orientedMinimumBoundingBox (double &area, double &angle, double &width, double &height) const |
| Returns the oriented minimum bounding box for the geometry, which is the smallest (by area) rotated rectangle which fully encompasses the geometry. More...
|
|
QgsGeometry | orthogonalize (double tolerance=1.0E-8, int maxIterations=1000, double angleThreshold=15.0) const |
| Attempts to orthogonalize a line or polygon geometry by shifting vertices to make the geometries angles either right angles or flat lines. More...
|
|
QgsGeometry | poleOfInaccessibility (double precision, double *distanceFromBoundary=nullptr) const |
| Calculates the approximate pole of inaccessibility for a surface, which is the most distant internal point from the boundary of the surface. More...
|
|
QgsGeometry | roundWaves (double wavelength, double amplitude, bool strictWavelength=false) const |
| Constructs rounded (sine-like) waves along the boundary of the geometry, with the specified wavelength and amplitude. More...
|
|
QgsGeometry | roundWavesRandomized (double minimumWavelength, double maximumWavelength, double minimumAmplitude, double maximumAmplitude, unsigned long seed=0) const |
| Constructs randomized rounded (sine-like) waves along the boundary of the geometry, with the specified wavelength and amplitude ranges. More...
|
|
QgsGeometry | squareWaves (double wavelength, double amplitude, bool strictWavelength=false) const |
| Constructs square waves along the boundary of the geometry, with the specified wavelength and amplitude. More...
|
|
QgsGeometry | squareWavesRandomized (double minimumWavelength, double maximumWavelength, double minimumAmplitude, double maximumAmplitude, unsigned long seed=0) const |
| Constructs randomized square waves along the boundary of the geometry, with the specified wavelength and amplitude ranges. More...
|
|
QgsGeometry | taperedBuffer (double startWidth, double endWidth, int segments) const |
| Calculates a tapered width buffer for a (multi)curve geometry. More...
|
|
QgsGeometry | triangularWaves (double wavelength, double amplitude, bool strictWavelength=false) const |
| Constructs triangular waves along the boundary of the geometry, with the specified wavelength and amplitude. More...
|
|
QgsGeometry | triangularWavesRandomized (double minimumWavelength, double maximumWavelength, double minimumAmplitude, double maximumAmplitude, unsigned long seed=0) const |
| Constructs randomized triangular waves along the boundary of the geometry, with the specified wavelength and amplitude ranges. More...
|
|
QgsGeometry | variableWidthBuffer (int segments, const std::function< std::unique_ptr< double[] >(const QgsLineString *line) > &widthFunction) const |
| Calculates a variable width buffer for a (multi)curve geometry. More...
|
|
QgsGeometry | variableWidthBufferByM (int segments) const |
| Calculates a variable width buffer using the m-values from a (multi)line geometry. More...
|
|