Skip to content

Commit

Permalink
Initial import of new classes for more efficient snapping
Browse files Browse the repository at this point in the history
QgsPointLocator: index vector layer geometries for fast lookups
QgsSnappingUtils: combine locators according to snapping configuration

Also adds fast point in polygon queries.
  • Loading branch information
wonder-sk committed Jan 20, 2015
1 parent 51bb803 commit 3a0dbf2
Show file tree
Hide file tree
Showing 5 changed files with 1,160 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/core/CMakeLists.txt
Expand Up @@ -133,6 +133,7 @@ SET(QGIS_CORE_SRCS
qgspluginlayer.cpp
qgspluginlayerregistry.cpp
qgspoint.cpp
qgspointlocator.cpp
qgsproject.cpp
qgsprojectfiletransform.cpp
qgsprojectproperty.cpp
Expand All @@ -152,6 +153,7 @@ SET(QGIS_CORE_SRCS
qgsscaleutils.cpp
qgssimplifymethod.cpp
qgssnapper.cpp
qgssnappingutils.cpp
qgsspatialindex.cpp
qgstolerance.cpp
qgsvectordataprovider.cpp
Expand Down Expand Up @@ -356,9 +358,11 @@ SET(QGIS_CORE_MOC_HDRS
qgsofflineediting.h
qgscredentials.h
qgspluginlayer.h
qgspointlocator.h
qgsproject.h
qgsrunprocess.h
qgsrelationmanager.h
qgssnappingutils.h
qgsvectorlayer.h
qgsvectorlayereditbuffer.h
qgsnetworkaccessmanager.h
Expand Down Expand Up @@ -507,6 +511,8 @@ SET(QGIS_CORE_HDRS
qgspallabeling.h
qgspluginlayerregistry.h
qgspoint.h
qgspointlocator.h
qgsproject.h
qgsprojectfiletransform.h
qgsprojectproperty.h
qgsprojectversion.h
Expand All @@ -524,6 +530,7 @@ SET(QGIS_CORE_HDRS
qgssimplifymethod.h
qgssingleton.h
qgssnapper.h
qgssnappingutils.h
qgsspatialindex.h
qgstolerance.h
qgsvectorfilewriter.h
Expand Down

0 comments on commit 3a0dbf2

Please sign in to comment.