Even Rouault
7ac4b51885
Add QgsGeometry::wkbSize()
2020-10-19 09:25:10 +10:00
Nyall Dawson
fe70bb2440
Dox
2020-09-18 11:50:27 +10:00
Nyall Dawson
fe5615ea44
Hold the GIL for more geometry related methods
2020-09-18 11:50:27 +10:00
Nyall Dawson
f496173bd7
Fix messy doxygen blocks which mess with sipify script
...
Fixes #38291
2020-08-20 17:01:35 +10:00
Denis Rouzaud
044a05d828
run sipify
2020-06-19 08:47:23 +10:00
Nyall Dawson
d3a54eed6f
Add flags to control geometry to WKB export behavior
...
With initial flag to force conversion of triangle types to polygons
2020-06-11 05:32:26 +10:00
Nyall Dawson
e5be0de36a
Add a more convenient constructor for QgsPolygons
2020-04-21 10:40:50 +10:00
Nyall Dawson
7d648e5b51
Improve Python __repr__ handling for null geometries
...
Also avoid massive long __repr__ strings for complex geometries,
as these can flood the Python console (and first aid plugin),
and aren't useful for debugging anyway.
Refs #14640
2018-12-18 18:11:22 +10:00
Even Rouault
7e81226b51
Replace toUtf8().data() by toUtf8().constData()
...
All your uses of toUtf8().data() actually just need a const char*
So use constData() that is semantically more correct, and documented
to be faster.
From http://doc.qt.io/qt-5/qbytearray.html#data
"For read-only access, constData() is faster because it never
causes a deep copy to occur."
2018-10-07 07:23:42 +10:00
Denis Rouzaud
ff1988f11d
Python __repr__ test output
2018-06-19 13:55:53 -04:00
Denis Rouzaud
763dfd2998
use SIP to define Python __repr__ rather than injections
...
because it's a bit more clever!
2018-06-19 07:58:26 -04:00
Denis Rouzaud
cc3e29bcc2
add __repr__ for more geometry classes and add test
2018-06-19 07:02:17 -04:00
Nyall Dawson
f8bc97030b
Remove extra space added before first line of docstring
2018-05-28 08:22:11 +10:00
Denis Rouzaud
7df2593caf
move auto generated sip file in dedicated folder
2018-05-14 10:23:37 -04:00