Skip to content

Draft: Feat/add tesselate algo

Florent Fougeres requested to merge feat/add-algo-tessellate into main

Add new aglo

Add a new QFCGAL algorithm to the plugin

Algo name

tesselate

To-do list

Processing

  • Add new processing file in qsfcgal/processing/tesselate.py
  • Adding the new algorithm to loadAlgorythms() method in the provider.py file

Expression

  • Add the new expression file to qsfcgal/expression and name it cg_tesselate.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 it test_tesselate.py
  • Add a test file for expression in tests/qgis/expression and name it test_cg_tesselate.py

Documentation

  • Create a tesselate.md file in docs/QSFCGAL and write the doc in it.
  • Illustrate the algo with an image filed in docs/img and named tesselate.png then insert this image in docs/QSFCGAL/tesselate.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

Merge request reports