Overlapped area between a triangle and a rectangle

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 4K views
Asuralm
Messages
35
Reaction score
0
Hi all:

My question is how to calculate the overlapped area of a triangle and rectangle.

It sounds a simple question but is there any way to do it efficiently? And is it possible there is a uniformed equation to solve such a problem? As there are many cases the triangle can overlap with the rectangle.

Thanks
 
Mathematics news on Phys.org
I don't know what kind of information that you're given to solve the problem, but it seems like splitting the area into rectangles and triangles would be the easiest way.
 
Asuralm, qnitty is correct as there are infinitely many ways in which a triangle and rectangle can overlap.