The height or altitude of a triangle passing through a vertex A is the perpendicular line to the opposite side, usually denoted by a, that contains A.

height(Triangle, Integer)

Given a triangle and an integer n, returns the height of the triangle passing through the n-th vertex.

height(Point, Point, Point)

Given three points A, B and C describing a triangle, returns the height passing through B.