T
trebor777
Guest
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.
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.