Lines

Common features of all lines.

Helper functions for line implementations