If I'm not mistaken that is only valid if the centre of the circle lies on a line that crosses the point P exactly halfway between the two other lines.