PointOnSurface(X, Y, Z, x, y, z, accuracy)

This function calculates numerically the closest point to a mesh surface from the given point.

You are now following this Submission

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

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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