Right angle triangles area of overlap calculation.

In summary, the speaker has been attempting to come up with a closed formula for finding the area of overlap between two arbitrary triangles using known values of the vertices. They have successfully found a solution for the special case of two right-angle, axis aligned triangles and are now trying to apply that solution to find a formula for arbitrary triangles. They have divided the area of an arbitrary triangle into 5 right-angle, axis aligned triangles and have tested this solution. However, they have encountered difficulties in finding the area of overlap between two arbitrary triangles and are seeking help and insight from others. They have tried asking on various forums but have not found a solution yet and are still hopeful.
  • #1
SonyAD
68
0
For some time now I've set myself a goal I've yet to reach. For the first time I feel I've found a proper place to ask for help.

I'm trying to devise a closed formula for the area of overlap of 2 arbitrary triangles from the known 6 vertexes' values. Naturally, inside the plane. In attempting to do so I thought it appropriate first to come up with one for the special case of 2 right-angle, axis aligned triangles. By axis aligned I mean that both catheti are parallel either to the abscissa or the ordinate.

Having solved this I would then attempt to come up with something for 2 arbitrary triangles. Actually, I see that as the easy part.

http://img213.imageshack.us/img213/7233/triunghi7li.gif

The way I propose to solve it is based on a supposed solution for the special case. As you can see in the graphic, I treat the area of arbitrary triangles as being made up of the areas of 5 right-angle, axis aligned triangles. This is proven to work for any arbitrary triangle, and I've tested it. The area determinant of the original arbitrary triangle is equivalent to the sum of the area determinants of triangles green, blue, yellow, cyan minus the area determinant of the hollow, red outlined triangle. As you can see, all 5 are right-angle, axis aligned triangles.

The area of overlap between 2 arbitrary triangles would mean adding up 16 areas of overlap between 4 and 4 triangles and subtracting 8 areas of overlap between 4 and 1 and 1 and 4 triangles.

On the special case. So far, I've thought of a bounding box. It's a rectangle, axis aligned. The segment common to both triangle's projections on the abscissa constitutes the boxes horizontal bound. Analogue for the vertical bound.

Whatever area of overlap there may be between the 2 right-angle triangles, it can only manifest inside this bounding box, if at all. Upon this known fact I've attempted various developments and embellishments towards said goal, by trial and error. But mostly error.

Among the knowns or easily findable are the bounding box's area, the intersection points between the catheti and the respectively perpendicular sides of the bounding box, the intersection points between the hypothenuses and the bounding box's sides, the amount of area either of the 2 triangles has inside the bounding box, etc.

Though calculating the intersection points would result in divisions by 0 [edit]for colinear triangles (of area = 0)[/edit] I find this is perfectly normal and appropriate, no reason to consider a solution based on these as inadequate because of the fringe cases (it's akin to calculating the intersection of 2 lines, the coordinates formulas are not invalidated because they yield div by 0 in the case of parallel lines). Hypothenuses intersection calculation, however, is an entirely different matter and though I may be wrong I can not view as no adequate any solution based on this.

I can also tell bereft of outside intervention which one of the three vertexes of either of the 2 triangles is its right-angled tip, its vertical side's tip, or the horizontal side's tip.

Also, the length of the segment common to any 2 segments, the endpoints of that segment, etc. All these using abs() so as not to introduce break/decision points in the process, especially the part concerned with creating the bounding box, thereby keeping a closed formula within the realm of feasibility.

I would very much appreciate any help or insight you endeavour to contribute on the problem. I've sprung this conundrum on many innocent people over the time, to no avail. I've asked on lots of math/computer/science forums unsuccessfully as well. For all I know, it may very well be impossible to solve. Nevertheless, each time I ask, it is with renewed hope. And this time I really think I'll find some pertinent help.

Regards.
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
Flatline.:rolleyes:
 
  • #3


Dear researcher,

I am intrigued by your goal to find a closed formula for calculating the area of overlap between two arbitrary triangles. It is indeed a challenging problem, and I commend you for your persistence in seeking a solution.

In regards to your proposed solution for the special case of two right-angled, axis aligned triangles, I can see the logic behind your approach of breaking the area into smaller right-angle triangles. However, I would caution against assuming that this solution will work for arbitrary triangles. It is important to consider the differences in the geometric properties of right-angle triangles and arbitrary triangles, and how that may affect the calculation of their areas of overlap.

Furthermore, it may be helpful to consider other approaches to solving this problem, such as using geometric formulas or mathematical equations. It may also be beneficial to break down the problem into smaller, more manageable parts and then combining the solutions to find the overall area of overlap.

I understand that you have tried various developments and calculations, but I would suggest exploring different methods and seeking input from other experts in the field. Collaboration and brainstorming with others can often lead to breakthroughs in solving complex problems.

Lastly, I would like to remind you to not lose hope in finding a solution. As scientists, we must persist and continue to seek answers, even in the face of challenges and setbacks. I wish you the best of luck in your pursuit of a closed formula for the area of overlap between two arbitrary triangles.

Sincerely,
 

FAQ: Right angle triangles area of overlap calculation.

1. How do you calculate the area of overlap for right angle triangles?

The area of overlap for right angle triangles can be calculated by finding the difference between the area of the larger triangle and the sum of the areas of the smaller triangles formed by the overlapping sides.

2. What is the formula for finding the area of a right angle triangle?

The formula for finding the area of a right angle triangle is A = (1/2)bh, where A is the area, b is the base, and h is the height.

3. Can the area of overlap for right angle triangles be negative?

No, the area of overlap for right angle triangles cannot be negative. If the calculation results in a negative value, it means that the triangles do not overlap and the area of overlap is equal to 0.

4. Do the angles of the right angle triangle affect the calculation of the area of overlap?

No, the angles of the right angle triangle do not affect the calculation of the area of overlap. The only factors that affect the calculation are the lengths of the sides and whether they overlap.

5. Can the area of overlap for right angle triangles be larger than the area of the larger triangle?

No, the area of overlap for right angle triangles cannot be larger than the area of the larger triangle. The area of overlap can only be equal to or smaller than the area of the larger triangle.

Similar threads

Back
Top