Find foot point on line.
Line passing two points.
Point to foot on line.
If you set each point of the line which has almost same coordinate each other, it will return origin and param as 0.
Find foot point on line.