Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge pull request #5475 from nyalldawson/snap_to_grid
[FEATURE][processing] Native c++ snap to grid algorithm
- Loading branch information
Showing
with
1,040 additions
and 320 deletions.
- +34 −0 python/core/geometry/qgsabstractgeometry.sip
- +25 −5 python/core/geometry/qgscircularstring.sip
- +28 −5 python/core/geometry/qgscompoundcurve.sip
- +1 −0 python/core/geometry/qgscurve.sip
- +6 −0 python/core/geometry/qgscurvepolygon.sip
- +15 −0 python/core/geometry/qgsgeometry.sip
- +5 −0 python/core/geometry/qgsgeometrycollection.sip
- +3 −0 python/core/geometry/qgslinestring.sip
- +5 −0 python/core/geometry/qgsmulticurve.sip
- +1 −0 python/core/geometry/qgsmultilinestring.sip
- +1 −0 python/core/geometry/qgsmultipoint.sip
- +1 −0 python/core/geometry/qgsmultipolygon.sip
- +4 −0 python/core/geometry/qgsmultisurface.sip
- +5 −0 python/core/geometry/qgspoint.sip
- +7 −0 python/core/geometry/qgspolygon.sip
- +5 −0 python/core/geometry/qgstriangle.sip
- +0 −3 python/plugins/processing/algs/help/qgis.yaml
- +0 −174 python/plugins/processing/algs/qgis/Gridify.py
- +0 −2 python/plugins/processing/algs/qgis/QGISAlgorithmProvider.py
- +0 −16 python/plugins/processing/tests/testdata/expected/gridify_lines.gfs
- +8 −6 python/plugins/processing/tests/testdata/expected/gridify_lines.gml
- +0 −32 python/plugins/processing/tests/testdata/expected/gridify_polys.gfs
- +6 −6 python/plugins/processing/tests/testdata/expected/gridify_polys.gml
- +2 −2 python/plugins/processing/tests/testdata/qgis_algorithm_tests.yaml
- +1 −0 src/analysis/CMakeLists.txt
- +105 −0 src/analysis/processing/qgsalgorithmsnaptogrid.cpp
- +61 −0 src/analysis/processing/qgsalgorithmsnaptogrid.h
- +2 −0 src/analysis/processing/qgsnativealgorithms.cpp
- +1 −0 src/core/CMakeLists.txt
- +32 −0 src/core/geometry/qgsabstractgeometry.h
- +20 −0 src/core/geometry/qgscircularstring.cpp
- +25 −29 src/core/geometry/qgscircularstring.h
- +26 −0 src/core/geometry/qgscompoundcurve.cpp
- +27 −30 src/core/geometry/qgscompoundcurve.h
- +93 −0 src/core/geometry/qgscurve.cpp
- +11 −0 src/core/geometry/qgscurve.h
- +41 −0 src/core/geometry/qgscurvepolygon.cpp
- +4 −2 src/core/geometry/qgscurvepolygon.h
- +9 −0 src/core/geometry/qgsgeometry.cpp
- +14 −0 src/core/geometry/qgsgeometry.h
- +27 −0 src/core/geometry/qgsgeometrycollection.cpp
- +4 −2 src/core/geometry/qgsgeometrycollection.h
- +22 −0 src/core/geometry/qgslinestring.cpp
- +2 −1 src/core/geometry/qgslinestring.h
- +7 −0 src/core/geometry/qgsmulticurve.cpp
- +4 −0 src/core/geometry/qgsmulticurve.h
- +7 −0 src/core/geometry/qgsmultilinestring.cpp
- +1 −1 src/core/geometry/qgsmultilinestring.h
- +7 −0 src/core/geometry/qgsmultipoint.cpp
- +1 −1 src/core/geometry/qgsmultipoint.h
- +7 −0 src/core/geometry/qgsmultipolygon.cpp
- +1 −1 src/core/geometry/qgsmultipolygon.h
- +7 −0 src/core/geometry/qgsmultisurface.cpp
- +3 −0 src/core/geometry/qgsmultisurface.h
- +29 −0 src/core/geometry/qgspoint.cpp
- +4 −2 src/core/geometry/qgspoint.h
- +7 −0 src/core/geometry/qgspolygon.cpp
- +7 −0 src/core/geometry/qgspolygon.h
- +22 −0 src/core/geometry/qgssurface.cpp
- +7 −0 src/core/geometry/qgstriangle.cpp
- +4 −0 src/core/geometry/qgstriangle.h
- +226 −0 tests/src/core/testqgsgeometry.cpp
Oops, something went wrong.