Introduction - If you have any usage issues, please Google them yourself
This procedure is the DDA algorithm to draw a straight line, that is, axis in a unit interval on the line segment sampling, to determine the axis closest to another line by the corresponding integer value.