Add algo: minkowski_sum
Add new aglo
Add a new QFCGAL algorithm to the plugin
Algo name
minkowski_sum
To-do list
Processing
-
Add new processing file in qsfcgal/processing/minkowski_sum.py
-
Adding the new algorithm to loadAlgorithms()
method in theprovider.py
file
Expression
-
Add the new expression file to qsfcgal/expression
and name itcg_minkowski_sum.py
-
Document expression in code for display in QGIS calculator -
Add the import of the new expression to plugin_main.py
(init and unload)
Tests
-
Add a test file for processing in tests/qgis/processing
and name ittest_minkowski_sum.py
-
Add a test file for expression in tests/qgis/expression
and name ittest_cg_minkowski_sum.py
Documentation
-
Create a minkowski_sum.md
file indocs/QSFCGAL
and write the doc in it. -
Illustrate the algo with an image filed in docs/img
and namedminkowski_sum.png
then insert this image indocs/QSFCGAL/minkowski_sum.md
-
Update in docs /QSFCGAL/algorithm.md
-
Add new documentation page to docs/index.md
-
Update readme.md
with the new algo
Author's checklist
-
I've read the contribution guidelines and affirm: -
my branch has been created from main -
if the code is not completely achieved, I apply the Draft/WIP prefix -
the DOD is satisfied specially tests
-
-
assign myself (the MR creator will automatically be assigned) -
the box Delete source branch when merge request is accepted. is checked
Reviewer's checklist
-
assign yourself as Reviewer and remember that others developers can comment too
Edited by Florent Fougeres