High level operations
Examples
Settings
Lower level operations
Pre- and postprocessing
project_on_line()
Source code
Projects x_p1 on the line going through x_p2 and x_p3.
result = x_p2 + project(x_p1 - x_p2, normal(x_p2, x_p3))