A diameter is a straight line that begins at one end of the circle and ends at the opposite end. The condition for a line to be a diameter is that it must pass through the centre of the circle. If a line that touches two points on the circle, does not pass from the centre of the circle, it cannot be called a diameter.
The length of the diameter is the measurement of the line that connects the two points of the circle.