Nyall Dawson 70361063d8 Rename QgsGeometry::geometry as QgsGeometry::get()
Because feature.geometry().geometry() is confusing, and impossible
to search for in python code (e.g. is input.geometry() a QgsGeometry
or a QgsAbstractGeometry?)

But more importantantly: also add a const version
QgsGeometry::constGet(). The non-const
version is slow, since it now forces a detach to avoid corrupting
geometries (since QgsGeometry is shared, it's not safe to directly
access its primitive QgsAbstractGeometry and start messing with
it without first detaching). This is a big risk in the 2.x API
which could potentially corrupt feature geometries with unexpected
outcomes.

Update all uses to constGet where possible.
2017-10-26 07:06:34 +10:00
..
2017-10-16 14:33:55 +02:00
2017-09-25 17:12:03 +10:00
2017-09-11 21:43:15 +10:00
2017-10-10 06:33:32 +10:00
2017-09-29 17:52:33 +02:00
2017-07-03 08:49:50 +02:00
2017-05-23 10:35:12 +02:00
2017-05-23 10:35:12 +02:00
2017-10-04 14:50:42 +02:00
2017-09-11 21:55:20 +10:00
2017-05-15 21:55:10 +02:00
2017-05-15 21:55:10 +02:00
2017-07-24 13:44:25 +02:00
2017-09-11 21:43:15 +10:00
2017-09-29 17:52:33 +02:00
2017-06-09 10:16:08 +02:00
2017-09-25 17:12:03 +10:00
2017-09-11 21:43:15 +10:00
2017-09-11 21:43:15 +10:00
2017-05-23 10:35:12 +02:00
2017-06-09 10:16:08 +02:00
2017-06-09 10:16:08 +02:00
2017-09-25 17:12:03 +10:00
2017-05-23 10:35:12 +02:00
2017-09-11 21:43:15 +10:00
2017-05-19 15:35:47 +02:00
2017-05-18 09:41:16 +02:00
2017-05-18 09:41:16 +02:00
2017-05-18 09:41:16 +02:00
2017-09-11 21:43:15 +10:00
2017-10-06 07:55:52 +10:00
2017-09-06 11:25:17 +10:00
2017-10-09 05:13:59 +01:00
2017-05-18 09:41:16 +02:00
2017-05-23 10:35:12 +02:00
2017-05-18 09:41:16 +02:00
2017-09-25 17:12:03 +10:00
2017-10-09 05:13:59 +01:00
2017-05-22 10:12:08 +02:00
2017-06-13 18:31:00 +02:00
2017-09-11 21:55:20 +10:00
2017-05-18 21:34:21 +02:00
2017-05-18 21:34:21 +02:00
2017-05-18 21:34:21 +02:00
2017-05-18 21:34:21 +02:00
2017-08-25 06:29:04 +10:00
2017-06-09 10:16:08 +02:00
2017-05-22 10:12:08 +02:00
2017-10-10 12:22:17 +02:00
2017-09-25 17:12:03 +10:00
2017-05-22 10:12:08 +02:00
2017-10-09 07:32:12 +01:00
2017-05-22 10:12:08 +02:00
2017-08-14 10:43:37 +02:00
2017-05-22 10:12:08 +02:00
2017-05-22 10:12:08 +02:00
2017-05-23 10:35:12 +02:00
2017-05-23 10:35:12 +02:00
2017-07-31 11:09:15 +01:00
2017-06-28 10:45:51 +02:00