The length of the vertical line is called the distance from the point to the line.
The straight line Ax+By+C=0, coordinate (Xo, Yo), then the distance from this point to this line is: │AXo+BYo+C│/√(A²+B²).
Among all the lines connected by a point outside the line and the points on the line, the vertical line is the shortest.
The distance from a point to a straight line is called a vertical line segment.
X1:5
Y1:3
Ax + By + C = 0
A:2;B:3;C:1
Click "calculate" to output the result
Distance from point to line:
20/sqrt(13)=5.547001962252292
Powered by TorCMS (https://github.com/bukun/TorCMS).