If both points, start and end, of a line are equal such a line is invalid. To avoid incorrect representation do not draw it.