Is there a straight forward way to find the angle of intersection when using polyxpoly?

I have a polyshape and a line coincedent with the Y axis.
As I rotate the polyshape I would like to know the angle of intersection at the point given by the polyxpoly function.
Is there a straight forward way to achieve this?

댓글 수: 1

polyxpoly also returns indices that were intersected
You can extract appropriate data and use atan2d

답변 (0개)

이 질문은 마감되었습니다.

질문:

2020년 5월 10일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by