In a triangle, a line segment from a vertex and perpendicular to the opposite side is called an altitude. It is also called the height of a triangle. ... When a triangle is a right triangle, the altitude, or height, is the leg. If the triangle is obtuse, then the altitude will be outside of the triangle.