Intersections of multiple 2D lines or line segments

버전 1.0.1 (94 KB) 작성자: Matt J
Compute the intersection of a reference line (or line segment) with a polyshape boundary or with a batch of other line segments.
다운로드 수: 215
업데이트 날짜: 2022/3/30

라이선스 보기

The command linexlines2D() offered in this submission is a flexible tool for computing the intersection points between a reference 2D line segment and a batch of other 2D line segments. Either the reference line segment or those in the batch (or both) can also be infinite lines, specified by 2D line equations.
If a batch of line segments is given, they may form an arbitrary cloud of line segments or they may form the boundaries of a polyshape. If the latter, the batch can be specified by passing a polyshape object as input to linexlines2D(). The thumbnail image above illustrates an example of this. Additional illustrations of usage can be found under the Examples tab.

인용 양식

Matt J (2024). Intersections of multiple 2D lines or line segments (https://www.mathworks.com/matlabcentral/fileexchange/93470-intersections-of-multiple-2d-lines-or-line-segments), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2020a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

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

Fixed a bug affecting line-polyshape intersection calculations

1.0.0