When there is one end it is called a Ray and when there are two ends it is called a Line Segment but they need extra information to define where the ends are. Infinity is a property of the global object. The Not So Short Introduction to LaTeX is also an excellent resource.
Mathematical infinities occur for instance as the number of points on a continuous line.
This can be achieved with a combination of Mathrandom and Mathfloor. We use our degToRad function to convert 60 degrees to radians as Mathtan expects an input value in radians. The inf constant is equivalent to float inf. In math the sideway 8 or infinity involved with an operation addition subtraction multiplication division etc.