A line is defined as a line of points that extends infinitely in two directions. It has one dimension, length. Points that are on the same line are called collinear points. A line is defined by two points and is written as shown below with an arrowhead.