Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 350 Bytes

File metadata and controls

11 lines (6 loc) · 350 Bytes

Geometry

distance point $(x_{A}, y_{A})$ to line $ax+by+c=0$ is:

$$\frac{|ax_{A}+by_{A}+c|}{\sqrt{a^{2}+b^{2}}}$$

distance_point_to_line

perpendicular vector to line $ax+by+c=0$ is $\overrightarrow{u}=(a,b)$

distance line to line: $d = \frac{|c_2 - c_1|}{\sqrt{a^2 + b^2}}= \frac{|c_2 - c_1|}{\sqrt{1 + m^2}}$