What is the meaning of Ridgeline?

The topmost edge along a mountain ridge.

The topmost edge along a roof, where its sloping sides meet.

Source: wiktionary.org