Triangle inside the circle is
located.
Is
assigned triangle by its apexes (x1; y1), (x2; y2), (x3; y3) and the circle
with its radius of R and by center (x0; y0). To determine is located triangle
inside the circle.
Entrance data
Coordinate of the first apex.
Coordinates of the second apex.
Coordinates third of apex.
Radius of circle.
Coordinates of the center of circle.
Target data
1- triangle inside the
circle.
0 - triangle not inside the circle.
Entrance data
1 1
-1 -1
1 -1
4
0 0
Target data
1
The author: Devyatkova Elya