Martin Dobias
7e34beec8c
New API for traversal of geometry's vertices using iterator pattern
...
Introducing:
1. STL-style iterator: QgsAbstractGeometry::vertex_iterator
2. Java-style iterator: QgsVertexIterator (built on top of STL-style)
The iterators are modeled after Qt's STL-style and Java-style iterators,
the idea is to replace nextVertex() method and later introduce iterators
for other bits (e.g. part_iterator, ring_iterator).
2017-10-14 13:23:14 +02:00
Nyall Dawson
92af1dacaf
Replace default constructors/destructors with = default
2017-10-01 06:52:14 +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
a6800d6a5a
Add qgsgeometry_cast
...
Because it
- is faster than dynamic_cast
- doesn't rely on RTTI
- encapsulates type checking in one place
2017-08-12 19:26:20 +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
8231d7528b
sipify QgsExpressionContext, QgsFeatureRequest, QgsOptionalExpression
2017-05-17 15:20:31 +02:00
Matthias Kuhn
28a21209b9
[sipify] seealso
2017-04-30 16:52:05 +02:00
Denis Rouzaud
b0d4a4c201
sipify geometry classes
2017-04-30 11:29:45 +02:00
Marco Hugentobler
17b51ab28f
Change comment for QgsCurveV2::sumUpArea
...
(forward-port from 1c02dc7)
2017-01-10 09:09:45 +10:00
Martin Dobias
5984b21852
Add missing /Factory/ annotations to geometry classes
2016-11-05 12:13:52 +08:00
Patrick Valsecchi
db91330b66
Avoid back and forth with WKB in rendering
2016-08-29 06:55:52 +02:00
Juergen E. Fischer
3f22a7a77f
another scripts/replacev2.sh with minor manual fixes
2016-08-10 12:12:28 +02:00