PointOnSurface(X, Y, Z, x, y, z, accuracy)
Version 1.0.0.0 (2.08 KB) by
Ingo Hermann
This function calculates numerically the closest point to a mesh surface from the given point.
This function calculates numerically the closest point to a mesh surface from the given point. In my example a point [x, y, z] outside of an ellipsoidal area [X, Y, Z] is given to calculate the closest point to the surface and also calculate a distance value for classification algorithm if one uses gaussian distribution for classifying things.
Cite As
Ingo Hermann (2024). PointOnSurface(X, Y, Z, x, y, z, accuracy) (https://www.mathworks.com/matlabcentral/fileexchange/65599-pointonsurface-x-y-z-x-y-z-accuracy), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2017b
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 |