6 Commits

Author SHA1 Message Date
Alvaro Huarte
734b8b4c62 Add SimplifyAlgorithm enum for local simplification
It implements the SimplifyAlgorithm enum for local simplification of
geometries.
Also the SnapToGrid algorithm is added.
2016-05-25 22:53:01 +02:00
Alvaro Huarte
51f06edbf7 Allow override WkbPtr and define WkbSimplifierPtr class
This commit simplifies the geometry just before to paint it in the
current QPainter device.

This commit allows to override the '>>' operators of the QgsWkbPtr
class. Also, It defines a new QgsWkbSimplifierPtr class to automatically
simplify the input point stream.
2016-05-25 22:50:28 +02:00
Nyall Dawson
881074b194 Boost coverage of SIP bindings
Now all classes and members are either exposed to bindings or marked
as "not available in Python bindings" in the docs.

Drop test thresholds to 0. Now it should be much easier to determine
what missing members have been added which are causing test
failures.
2016-01-05 11:16:15 +11:00
Juergen E. Fischer
d9e8a940b9 fix polygon generalization artifacts, if last ring segment is one of two
segments exceeding the tolerance plus some cleanups
2014-08-17 18:52:16 +02:00
Juergen E. Fischer
e138c2e94d fix windows build 2014-05-09 04:38:20 +02:00
Hugo Mercier
3f48ec9322 Expose QgsMapToPixelSimplifier to Python 2014-03-18 09:37:10 +01:00