Projecting a point along normal direction
조회 수: 4 (최근 30일)
이전 댓글 표시
So there is the InterX code available on matlab which finds out where two curves intersect.
Basically given two curves A and B,I select a point in A,and then project it along the normal direction.
Then I use InterX to find where this projection will meet the curve B
This is the code i am currently referring to
the projection part is in in line 19-23.
But doing so gives me the following result.So i want to know if i want to project along normal direction,then is this method correct,and what can be done to ensure that points are projected along the normal.
The normals on this curve are as follows
have enclosed the set of points as well as the normals
댓글 수: 0
채택된 답변
KSSV
2021년 9월 15일
You may use this file exchange function: https://in.mathworks.com/matlabcentral/fileexchange/32696-2d-line-curvature-and-normals
댓글 수: 7
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Nonlinear Optimization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!