a part of a line with one endpoint​