Distance Between a Point and a Line Using Normal Form
## Formula
For:
$$x\cos\alpha+y\sin\alpha=p$$
the distance of $$(x_1,y_1)$$ from the line is:
$$d=|x_1\cos\alpha+y_1\sin\alpha-p|$$
## Usage
- Used to calculate point-to-line distance when the line is given in normal form.