Nyall Dawson
e34d7fb636
Fix left of test for linestrings
...
The test was returning invalid results for certain geometries
2017-11-29 06:45:33 +11:00
Nyall Dawson
5d476e51df
Use QVector where possible in geometry classes
2017-11-14 21:52:09 +11:00
Nyall Dawson
2e8e72d02d
Optimise determination of adjacent vertices and move to QgsAbstractGeometry
...
Previously the method in QgsGeometryUtils was relying on
QgsAbstractGeometry::coordinateSequence, which is an absolute
performance killer.
Instead move to optimised methods in the various abstract
geometry subclasses which rely only on trivial calculations.
2017-10-23 08:03:22 +11:00
Matthias Kuhn
13775c2170
More generic closest point on line interpolation
2017-06-26 08:21:11 +02:00
Radim Blazek
5c6e794b2d
nearest point measure in identify tool
2017-06-22 15:32:07 +02:00
Matthias Kuhn
4f3cd3e12c
QgsPoint migration
2017-06-02 19:53:37 +02:00
Matthias Kuhn
a9d7630a69
Rename QgsPointV2 to QgsPoint and QgsPoint to QgsPointXY
...
Because 3D coordinates should be the default.
References https://github.com/qgis/qgis3.0_api/issues/36
2017-06-02 19:53:37 +02:00
Denis Rouzaud
5888d22c07
fix sip bindings documentation
2017-05-11 12:00:06 +02:00
Denis Rouzaud
b0d4a4c201
sipify geometry classes
2017-04-30 11:29:45 +02:00
Martin Dobias
ab5841395f
Move private arc segmentization routines to QgsGeometryUtils
2017-04-02 17:42:22 +08:00
lbartoletti
fb3d07f3f5
[FEATURE] New class for triangle
...
Adds a new geometry class for Triangle geometries
Methods include orthocenter, bisectors, medians, medial, circumscribed (center,
radius), inscribed (center, radius)
Also adds make_triangle expression function for creating triangles
2017-03-21 18:50:47 +10:00
lbartoletti
3703bf7396
Move midpoint to QgsGeometryUtils
2017-02-15 08:48:12 +10:00
Nyall Dawson
767e7a53c6
Expose QgsGeometryUtils to python bindings
...
Has some handy functions and there's no strong reason anymore
why these shouldn't be part of stable API
2017-02-12 13:01:24 +10:00