Fast and Robust Self-Intersections

버전 1.0.0.0 (3.36 KB) 작성자: Antoni J. Canós
Computes the self-intersections of a curve.
다운로드 수: 2.6K
업데이트 날짜: 2006/12/13

라이선스 보기

This function computes the locations where a curve self-intersects in a fast and robust way. The curve can be broken with NaNs or have vertical segments. Segments of the curve involved in each of the self-interesections are also provided.

Example of use:
N=201;
th=linspace(-3*pi,4*pi,N);
R=1;
x=R*cos(th)+linspace(0,6,N);
y=R*sin(th)+linspace(0,1,N);
t0=clock;
[x0,y0,segments]=selfintersect(x,y)
etime(clock,t0)
plot(x,y,'b',x0,y0,'.r');
axis ('equal'); grid

인용 양식

Antoni J. Canós (2026). Fast and Robust Self-Intersections (https://kr.mathworks.com/matlabcentral/fileexchange/13351-fast-and-robust-self-intersections), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R13
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Interpolation에 대해 자세히 알아보기
버전 게시됨 릴리스 정보
1.0.0.0