Frage

I have a point p and multiple circles C1,C2,C3.... Cn.

How can i find if the point is at the intersection area of this Circles ?enter image description here

I just know the center(x,y) and the radius of the circles C1...Cn and the coordinates of the point p(x,y).

I have to write a cpp code for implementing this problem.

But at first i need to know the logic. Please help.

War es hilfreich?

Lösung

Just check if the distances of the point from the three centers are less of all the three radius.

EDIT: homework? I should not have answered :/

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top