Power of a point (source code)

= Power of a point

The power of a point $P$ relative to a <circle> with center $O$ and <radius> $r$ is $OP^2-r^2$. If a line through $P$ meets the <circle> at $A$ and $B$, the product of the directed distances $PA$ and $PB$ equals this quantity.