NO

Author Topic: triangle problem  (Read 3435 times)

abhas

  • Guest
triangle problem
« on: April 09, 2011, 05:31:51 AM »
i need to do this program: enter the 3 co-ordinates of 2 triangles respectively and check if one of them contains the other. i have been thinking of treating them as circles (finding the circumcircle)and check the required, but there are two problems:
1> the triangles may not cut each other but the circum-circles may. so it is not the perfect way to solve.
2> i even dont know how to find the circum-centre and circum-centre with the given data.
  any other idea about how to solve it or even solving problem 2> will be appreciated.
  i am just asking for the mathematical concept applicable here and not the cod

Offline Stefan Pendl

  • Global Moderator
  • Member
  • *****
  • Posts: 582
    • Homepage
Re: triangle problem
« Reply #1 on: April 09, 2011, 09:03:57 AM »
See my reply to your duplicate post.
« Last Edit: April 09, 2011, 09:42:07 AM by Stefan Pendl »
---
Stefan

Proud member of the UltraDefrag Development Team