The hierarchy of triangle classes. The root class represents the most general triangle.
The son to the left represents an isosceles triangle (where two sides are equal lengths).
The son to the right represents a right triangle, where one of the angles is 90 degrees.
The triangle at the bottom left is an equilateral trianlge (where all three sides are of equal lengths).
The triangle at the bottom right is both an isosceles triangle and a right triangle.