intersection of two triangles
Show older comments
Hi,
I have 2 triangles and I would like to know if they are inside each others or they intersect. Like the picture How I can do that ? I read about polyxpoly but to be honest I don't understand how to use it in this scenario.

Accepted Answer
More Answers (1)
Rushabh Khattri
on 22 Aug 2017
0 votes
I am getting this error :- Undefined function 'polyxpoly' for input arguments of type 'double'.
2 Comments
Jan
on 22 Aug 2017
The first point to start is asking an internet search engine for this term: "Matlab polyxpoly". You will find out, that this command belongs to the Mapping Toolbox: https://www.mathworks.com/help/map/ref/polyxpoly.html. It seems like you do not have a license for this toolbox and then you need a different solution. Please open a new thread then.
John D'Errico
on 22 Aug 2017
This is not an answer. It is only a new question, but resurrecting a zombie question, that is only partially related.
Categories
Find more on Triangulation Representation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!