The feet of the altitudes of a triangle are the orthogonal projections of the vertices on the opposite sides.
Altitude_feet.mac