You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Editor's Note: This file was selected as MATLAB Central Pick of the Week
Cite As
Michael Yoshpe (2026). p_poly_dist - distance from points to 2D polyline or polygon (https://au.mathworks.com/matlabcentral/fileexchange/12744-p_poly_dist-distance-from-points-to-2d-polyline-or-polygon), MATLAB Central File Exchange. Retrieved .
General Information
- Version 2.0.0.2 (7.54 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 2.0.0.2 | Fixed a bug that incorrectly sets the distances of out-of-polygon points to negative |
||
| 2.0.0.1 | 1) Small changes to p_poly_dist function to allow translation with Matlab Coder
|
||
| 2.0.0.0 | Fixed a bug that cause idx_c output argument to be off by 1
|
||
| 1.0.0.0 |
