File Exchange

image thumbnail

Discrete contour mesh patch (3D, 2D)

version 1.1 (73.3 KB) by Mathworlds
Function to mesh one discrete 2D or 3D contour of sorted or disordered points. Also computes vertex normals.

1 Download

Updated 16 Nov 2020

From GitHub

View Version History

View license on GitHub

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.

Cite As

Mathworlds (2021). Discrete contour mesh patch (3D, 2D) (https://github.com/NicolasDouillet/discrete_contour_mesh_patch/releases/tag/v1.1), GitHub. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!