Discrete contour mesh patch (2D,3D)

Function to mesh one discrete 2D or 3D contour of sorted or disordered points. Also computes vertex normals. Help, doc and examples included

https://github.com/NicolasDouillet/discrete_contour_mesh_patch

You are now following this Submission

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.
Please don't forget to rate if this code helped you. Thanks.

Cite As

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

Acknowledgements

Inspired: Anatomy Volume Analysis, Anatomy Defect Analysis

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1

See release notes for this release on GitHub: https://github.com/NicolasDouillet/discrete_contour_mesh_patch/releases/tag/v1.1

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.