• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Question - Code Rectangle_In_triangle error? or intended?

trebor777

Member
Hello,

I need to do more tests, but it seems that the rectangle_in_triangle... doesn't work in the case of the "triangle_in_rectangle"...

If the rectangle overlaps only a corner but doesn't have any of its corners inside it, it seems to not return a result >0.

Any one could confirm this? Is it intended?

A work around is to do 3 more tests with point_in_rectangle for each corner of the triangle. but that feels a bit cumbersome.

Cheers.
 
Top