Re: How to compute triangle base/altitude intersection



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!!!


.



Relevant Pages

  • Re: Casillas: Really that Great?
    ... but I can't shake the feeling when I watch him that ... He never completley convinces me that he's in ...
    (rec.sport.soccer)
  • Re: Casillas: Really that Great?
    ... but I can't shake the feeling when I watch him that ... He never completley convinces me that he's in ...
    (rec.sport.soccer)
  • Casillas: Really that Great?
    ... but I can't shake the feeling when I watch him that he's not "a natural". ... He never completley convinces me that he's in control, unlike a Schmeichel, Zenga, or Dida. ...
    (rec.sport.soccer)
  • Re: "Does your motor always shake like that?"
    ... Your spine needs a little shake, it keeps you from feeling old and in need of therapy. ...
    (rec.motorcycles.harley)