And the line length measurement from the roof peak to the building wall is the hypotenuse.
Roof return framing.
Rafters start at the top of the roof and go down to the eaves but not exceeding the exterior walls of the house.
Whether you are framing a cornice return capped with a hip roof or a shed roof the first step is to install the subfascia and the ledger.
The rise or height of the roof at its peak is the altitude of the triangle.
Run both boards long and cut in place.
Return eaves a common roof structure is made of trusses or rafters.
Notches under the rafters allow the ledger stock to be full dimension on the ends to better support the return framing.
The framing of a basic gable roof is based on a right angle triangle and the various roof framing components fit the triangle.