Nyall Dawson
01d34ede9d
Sip sync
2017-09-25 17:12:03 +10:00
Nyall Dawson
f387210e4a
Move QgsPolygonV2 equality operators up to QgsCurvePolygon
2017-09-19 17:22:33 +10:00
Nyall Dawson
bb425e4540
Cleaner signature for QgsAbstractGeometry::closestSegment
2017-09-19 17:22:33 +10:00
Nyall Dawson
54c988f918
Make QgsAbstractGeometry::toCurveType pure virtual, and implement
...
for all geometry types
Previously this method would return nullptrs for many geometry
types
2017-09-19 17:22:33 +10: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
Matthias Kuhn
28a21209b9
[sipify] seealso
2017-04-30 16:52:05 +02:00
Denis Rouzaud
897e2f0410
[sipify] do not take // comments into docstrings
2017-04-30 16:34:08 +02:00
Denis Rouzaud
b0d4a4c201
sipify geometry classes
2017-04-30 11:29:45 +02:00
Nyall Dawson
af0d68b882
Implement QgsGeometry::isEmpty()
...
Faster than QgsGeometry::isGeosEmpty() because it avoids the
conversion to GEOS geometries and just uses the QgsAbstractGeometry
subclasses directly.
Also implements faster isEmpty() overrides for specific
QgsAbstractGeometry subclasses.
2017-01-31 07:15:51 +10:00
Nyall Dawson
45a52dfacd
Rename minimum area paremeter, fix docs for QgsCurvePolygon::removeInteriorRing
2016-11-29 08:43:23 +10:00
Nyall Dawson
57f482e2d9
Add method to QgsGeometry to remove interior rings from a polygon
...
With an optional area threshold
2016-11-28 12:08:21 +10:00
Martin Dobias
d729951dcd
Remove caching of WKB from QgsGeometry (was kept just for compatibility)
...
Also improves the API to export/import WKB as QByteArray
2016-11-14 13:36:12 +08:00
Martin Dobias
5984b21852
Add missing /Factory/ annotations to geometry classes
2016-11-05 12:13:52 +08:00
Nyall Dawson
49432a8468
Optimise QgsAbstractGeometry
...
Make nCoordinates virtual, and provide shortcuts for some
geometry types. The base method which calls coordinateSequence()
is quite slow in certain circumstances.
Speeds up rendering point layers by ~25%, also likely to
speed up lots of geometry heavy operations throughout QGIS
Refs #15752
2016-10-26 17:22:09 +10:00
Juergen E. Fischer
3f22a7a77f
another scripts/replacev2.sh with minor manual fixes
2016-08-10 12:12:28 +02:00