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 Comment

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

Answers (0)

This question is closed.

Asked:

on 10 May 2020

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!