Re: How to compute triangle base/altitude intersection
- From: "Phlip" <phlipcpp@xxxxxxxxx>
- Date: Wed, 30 Aug 2006 18:13:44 GMT
Balabek wrote:
Hope you can help me solve this problem.
Suppose I have a triange ABC. I have altitude passing through vertice
C, and it intersects line AB or extension of line AB at point D.
Given coordinates of points A, B, and lengths of line segments AC, BC,
how would you calculate coordinates of point D?
I do have a way to compute it, but I just can't shake away this feeling
that it is not very efficient.
I can't shake the feeling that A> pythagorean theorem is required, and B>
you can solve it via only squares, not square roots.
But I could be wrong on any of those, so post your actual algorithm...
(And the best newsgroup might be news:comp.graphics.algorithms )
--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!!
.
- Follow-Ups:
- Re: How to compute triangle base/altitude intersection
- From: Pascal Bourguignon
- Re: How to compute triangle base/altitude intersection
- References:
- How to compute triangle base/altitude intersection
- From: Balabek
- How to compute triangle base/altitude intersection
- Prev by Date: How to compute triangle base/altitude intersection
- Next by Date: Re: How to compute triangle base/altitude intersection
- Previous by thread: How to compute triangle base/altitude intersection
- Next by thread: Re: How to compute triangle base/altitude intersection
- Index(es):
Relevant Pages
|