CIRCUMCIRCLE Circumscribed circle of three points.
CIRC = circumCircle(TRI)
CIRC = circumCircle(P1, P2, P3)
Compute circumcircle of a triangle given by 3 points.
Example
T = [10 20; 70 20; 30 70];
C = circumCircle(T);
figure; drawPolygon(T, 'linewidth', 2);
hold on; drawCircle(C);
axis equal; axis([0 100 0 100]);
See also
circles2d, enclosingCircle, circumCenter
Package: matgeom