Computing: Free Pascal Programming

Plane geometry: Parallel lines and lines intersection.


French
Download lines2 console program (Windows 64bit) Download lines2 source code (Lazarus/Free Pascal)

Description: Geometry in the plane program, that may be used to determine if two lines are parallel (equal or distinct) or intersect (and in this case to calculate the intersection point). For user convenience, the program allows to enter the line equation directly (instead of asking the coefficients) and this under the two common forms ax+by+c=0 and y=mx+p.

Improvements: Using the system decimal separator. Perhaps using fractions instead of decimals.

Free Pascal features: Crt unit (color display, erasing given screen lines, printing at a given screen position, catching keyboard key strokes).

Screenshot:

Determination of the intersection of 2 lines

If you like this program, please, support me and this website by signing my guestbook.