A line has one dimension, it is defined by its length only.
A three dimensional shape can have edges only if it has vertices.