Skip to content

Feat/add triangulate 2dz

Florent Fougeres requested to merge feat/add-triangulate-2dz into main

Add new aglo

Algo name

triangulate_2dz

To-do list

Processing

  • Add new processing file in qsfcgal/processing/triangulate_2dz.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_triangulate_2dz.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_triangulate_2dz.py
  • Add a test file for expression in tests/qgis/expression and name it test_cg_triangulate_2dz.py

Documentation

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