Ridge

The horizontal top edge where the two sloping roof surfaces meet and where the rafters for both slopes are nailed.