Construction of lines and segments