Minimum distance between two polylines

버전 1.0.0.0 (7.76 KB) 작성자: Michael Yoshpe
Find minimum distance between two polylines, and the closest points
다운로드 수: 496
업데이트 날짜: 2015/11/3

라이선스 보기

The following files are included:
poly_poly_dist.m - Find minimum distance between two polylines. Polyline is defined as a set of nv-1 segments connecting nv ordered vertices v(1), v(2), ..., v(nv). Distance between 2 non-intersecting polylines poly1 and poly2 is defined as a minimum of distances of poly1 vertices to poly2 segments, or poly2 segments to poly1 vertices. If polylines intersect, the distance is set to zero, and the coordinates of intersection points are returned.
test_poly_poly_dist.m - a simple unit test for poly_poly_dist. Plots the results of a call to poly_poly_dist function (see help for usage example).

p_poly_dist.m - Compute the distances from each one of a set of np points p(1), p(2),... p(np) on a 2D plane to a polyline or a closed polygon. This is a helper function for poly_poly_dist, please see http://www.mathworks.com/matlabcentral/fileexchange/12744-distance-from-points-to-polyline-or-polygon

인용 양식

Michael Yoshpe (2024). Minimum distance between two polylines (https://www.mathworks.com/matlabcentral/fileexchange/53804-minimum-distance-between-two-polylines), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2012a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Geometric Transformation and Image Registration에 대해 자세히 알아보기
도움

도움 받은 파일: Distance from points to polyline or polygon

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

fix small error in function description