You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Calculate the distance from a point to 2-D polygon, and the point on the polygon closest to the point.
This is based on the function made by Michael Yoshpe. Also include the test suggested by Eric Schmitz.
Cite As
Alejandro Weinstein (2026). Distance from a point to polygon (https://ch.mathworks.com/matlabcentral/fileexchange/19398-distance-from-a-point-to-polygon), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: p_poly_dist - distance from points to 2D polyline or polygon
Inspired: Flow Cytometry GUI for Matlab
General Information
- Version 1.0.0.0 (1.18 KB)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
