Computing: Free Pascal Programming

Plane geometry: Line passing through 2 points.

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

Description: Geometry in the plane program, that may be used to display information about lines passing through 2 points. The program determines the line's equation (several forms) and also calculates values as the slope and the angle of the line with the x-axis.

Improvements: Reducing the equation coefficients, perhaps using fractions instead of decimals.

Free Pascal features: Records, functions, procedures. Crt unit (catching keyboard key strokes).


Determination of the equation of a line passing through 2 points

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