Please first check the examples tab (.mlx doc) here on the right for a complete description.
Once downloaded, typewrite 'help discrete_contour_mesh_patch' or 'doc discrete_contour_mesh_patch' in Matlab console for support.
Mostly efficient for quasi flat contours, cause doesn't yet prevent from self intersecting triangles.
For 2D contours, just padd their coordinates with a zero Z vector, just like in examples to make it work.
To benefit from the file documentation attached, be sure to download the file, not to just copy and paste it.
Mathworlds (2021). Discrete contour mesh patch (3D, 2D) (https://github.com/NicolasDouillet/discrete_contour_mesh_patch/releases/tag/v1.1), GitHub. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.