Suppose i have 2 triangles and for each triangle i have 2 coordinates. Find if these 2 triangles overlap. | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Suppose i have 2 triangles and for each triangle i have 2 coordinates. Find if these 2 triangles overlap.

try to solve this problem if you are a geek.

1st Apr 2017, 5:02 AM
Akhil Koshy
1 Antwort
+ 4
Just trying. If the two lines (formed with given 2 coordinates) are not parallel, they will overlap. If they are parallel, they may overlap.
1st Apr 2017, 9:00 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar