点到直线的距离公式 d = A ∗ X 0 + B Y 0 + C A 2 + B 2 d=\frac{ A*X_{0}+BY_0+C}{\sqrt{A^2+B^2}} d=A2+B2 A∗X0+BY0+C 公式描述:公式中的直线方程为Ax+By+C=0,点P的坐标为(x0,y0)。