One leg of the triangle. Must be positive.
The other leg (perpendicular to base). Must be positive.
Gets the area of the right triangle.
Gets the base (leg) of the triangle.
Gets the height (leg) of the triangle.
Gets the hypotenuse of the triangle.
Gets the perimeter of the triangle (base + height + hypotenuse).
Class representing a right triangle and provides geometric computations.