Please first check the examples tab (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.
Nicolas Douillet (2020). Discrete contour mesh patch (3D, 2D) (https://www.mathworks.com/matlabcentral/fileexchange/78901-discrete-contour-mesh-patch-3d-2d), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!