Line (Geom Package) - michael-lemberger/Pacman-Gps-Game GitHub Wiki
Constructor.
calculates one of the following equations:
- y=a. (If its a line parallel to Y axis).
2. x=a. (If its a line parallel to X axis).
3.y=ax-b (general equation).
We equalise an two equations of a line, if we find out that does two line cut inside the range we want to check, we say they are cutting each other.
saves the range of 2 points. (y and x)
Generates the general eqution.