added Line.isContiguousOverInterval