A line
In plane geometry, the shortest distance between two points is a line. In spherical geometry, the shortest distance between two points is a segment of a great circle. The distance between one point and another is known as the displacement.
In plane geometry, the shortest distance between two points is a line. In spherical geometry, the shortest distance between two points is a segment of a great circle. The distance between one point and another is known as the displacement.
If you know the end points then use the distance formula or simply use a ruler.
The curve between two points is known as an arc. Arcs and circles are used extensively in geometry. They are used in the real world by engineers and digital artists.
Two end points.
the line in geometry is a line segment that never ends
No. In spherical elliptical geometry, for example, given the earth's North and South poles, there are an infinite number of lines of longitudes between them.
Two dimensional geometry.
In plane geometry, two points determines or defines one unique line.
If the points are on the same line then are collinear.
In Euclidean geometry each line contains a minimum of an infinite number of points. In projective geometry, though, a line may have as few as two points.
Normally a straight line has infinitely many points. It is only in one case of projective geometry that lines have two points.