Nyall Dawson
b904731259
Respect transform context in point locator
2018-01-04 15:04:42 +11:00
Denis Rouzaud
c604d2dda6
run sipify
2017-12-15 22:13:44 -04:00
Denis Rouzaud
f2b3ed0a9b
run sipify
2017-12-15 11:12:19 -04:00
Nyall Dawson
78c0c28468
Fix doxygen warnings
2017-10-06 07:55:52 +10:00
Nyall Dawson
49b426d951
Make doxygen_space script convert multiline //! comments
...
Because:
- the /** format is much more prevalent throughout QGIS
- sipify works correctly with /**
2017-10-06 07:55:52 +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
Denis Rouzaud
68b990b3bb
sipify batch
...
python/core/qgspaintenginehack.sip
python/core/qgspainting.sip
python/core/qgspallabeling.sip
python/core/qgspathresolver.sip
python/core/qgspluginlayer.sip
python/core/qgspluginlayerregistry.sip
python/core/qgspointlocator.sip
python/core/qgsproject.sip
python/core/qgsprojectbadlayerhandler.sip
python/core/qgsprojectproperty.sip
python/core/qgsprojectversion.sip
python/core/qgssnappingconfig.sip
2017-05-18 09:41:16 +02:00
Denis Rouzaud
7d459149c7
[sip] align missing bits and replace nullptr by 0
2017-05-02 08:09:53 +02:00
Denis Rouzaud
93971d5ed3
[sip] align pointer and reference in blacklisted files
...
this will facilitate sip diff checking
2017-05-01 17:49:43 +02:00
Martin Dobias
fd616ae94e
A bit of const-correctness and new convenience methods for edit tools
2017-02-24 11:27:45 +08:00
Nyall Dawson
4cfacf14e3
Make API more consistent
...
- rename methods with XML to Xml, CRS to Crs, WMS to Wms, ID to Id
- rename methods with SRS to Crs
- rename methods with abbreviations like "dest" to "destination"
- rename methods with abbreviations like "src" to "source"
2016-07-21 08:40:50 +10:00
Nyall Dawson
7d2027faa9
Fix most remaining methods which return a reference to
...
QgsCoordinateReferenceSystem or which take a pointer to a
CRS
2016-07-15 06:01:39 +10:00
Matthias Kuhn
679cab2cd4
Followup dab157f
2016-06-21 14:25:58 +02:00
Matthias Kuhn
dab157f70f
Minor fixes and doxymentation for QgsSnappingUtils
2016-06-21 11:46:18 +02:00
Juergen E. Fischer
a90be95f7b
sip sync
2016-02-14 03:50:49 +01:00
Martin Dobias
fa66583e6f
Improve indexing strategy for snapping ( fixes #12578 )
...
Implemented a simple heuristic that should keep the number of cached
features per layer reasonable - and thus lower the amount of consumed
memory and CPU for big layers.
2016-01-27 23:16:47 +01:00
Martin Dobias
86307ffc7c
Add debug capabilities to snapping utils
2016-01-27 23:16:46 +01:00
Nyall Dawson
556d87a86c
Fix some clang warnings
2015-11-02 18:07:16 +11:00
Matthias Kuhn
3613ba5701
QgsPointLocator::Type : Type safety
2015-09-26 13:45:07 +02:00
Juergen E. Fischer
abd4a04399
sip update
2015-02-03 02:21:52 +01:00
Martin Dobias
cad3173d6e
QgsSnappingUtils: improvements of the hybrid indexing strategy
...
Instead of calculating feature count (which may add extra overhead),
let's directly try to build index for layers. Only when a certain limit
of features is reached (currently 1 million), the indexing is cancelled
and layer is marked as non-indexable.
2015-01-23 14:30:46 +07:00
Martin Dobias
dbe830b0bb
Point locator: Use just one R-tree for indexing instead of three R-trees
...
The maintenance of three R-trees was too complicated, using a lot of memory
and the performance benefit was questionable :)
The approach with just one R-tree leads to much simpler code
Removed k-NN queries in the process - they were not used in QGIS code. They can be
reintroduced later, but there is not much use for them right now...
2015-01-20 18:54:07 +07:00
Martin Dobias
54e8493bc7
QgsPointLocator: make it possible to index just a part of layer
2015-01-20 10:21:55 +07:00
Martin Dobias
f8fc8a0a31
Final removals of QgsMapCanvasSnapper
2015-01-20 10:21:55 +07:00
Martin Dobias
4b8ea28262
Add QgsSnappingUtils::snapToCurrentLayer() + utility methods in QgsTolerance
...
Also added missing SIP wrappers for new classes QgsPointLocator and QgsSnappingUtils
2015-01-20 10:21:55 +07:00