Height foot

Computes the intersection point of the height and the base of a triangle.

height_foot(Point, Point, Point)

Given three points A, B and C, computes the intersection point of the base and the height of the triangle with stack A B C with hat on top (the base of the triangle is the segment stack A C with bar on top).

height_foot(Triangle, Integer)

Given a triangle and an integer i, computes the intersection point of the base and the height of the triangle with height at i-th vertex.