Denis Rouzaud
ba8a445850
run sipify
2021-03-22 21:13:52 +01:00
Loïc Bartoletti
817744928c
Fix circle by three tangents parrallel when two are parallels ( #40702 )
...
* add new method to solve QgsCircle::from3tangents where 2 tangents are parallels
2020-12-23 09:00:15 +10:00
Loïc Bartoletti
5f36925189
[API] Add asGml methods to QgsCircle
2020-12-02 06:32:00 +10:00
Nyall Dawson
fe5615ea44
Hold the GIL for more geometry related methods
2020-09-18 11:50:27 +10:00
Nyall Dawson
b6d66becab
Sipify
2019-02-27 09:41:11 +10:00
Raymond Nijssen
0ba9a326ec
Add API to calculate innerTangents for 2 circles
2019-01-14 05:27:19 +10:00
Denis Rouzaud
ef1efebda4
forward declaration of QgsPoint
2018-10-09 11:48:33 -08: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
2ed144ac59
Apply clang-tidy readability-avoid-const-params-in-decls fixit
...
Checks whether a function declaration has parameters that are
top level const.
const values in declarations do not affect the signature of a
function, so they should not be put there.
2018-06-05 10:19:13 +10:00
Denis Rouzaud
65bb60e96c
run sipify
2018-05-28 10:39:34 -08:00
Nyall Dawson
f8bc97030b
Remove extra space added before first line of docstring
2018-05-28 08:22:11 +10:00
Nyall Dawson
1c615c15cc
More documentation compliance
...
Use Qt style "returns .." tense instead of "return ..", and lock
this in with a documentation compliance unit test
2018-05-25 15:09:00 +10:00
Denis Rouzaud
7df2593caf
move auto generated sip file in dedicated folder
2018-05-14 10:23:37 -04:00