distanceVertex2Mesh(mesh, vertex)
Version 1.0.0.0 (5.82 KB) by
Christopher
Calculate the distance between vertices and a mesh
This code calculates the distance from one or many vertices to the surface of a 3D object identified by a mesh. The mesh needs to contain a list of vertices and a triangulation of the vertices given by a list of faces.
A distance per vertex and an average normalized distance for all test vertices is returned.
Cite As
Christopher (2024). distanceVertex2Mesh(mesh, vertex) (https://www.mathworks.com/matlabcentral/fileexchange/50269-distancevertex2mesh-mesh-vertex), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2014b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Surface and Mesh Plots in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |