File Exchange

image thumbnail

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.

2 Downloads

Updated 04 Jan 2018

View License

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 (2021). 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 .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2017b
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!