Example #1
0
        public void CalcCircumCenter()
        {
            float a, b, c;

            LineFromPoints(A, B, out a, out b, out c);
            float e, f, g;

            LineFromPoints(B, C, out e, out f, out g);

            PerpendicularBisectorFromLine(A, B, ref a, ref b, ref c);
            PerpendicularBisectorFromLine(B, C, ref e, ref f, ref g);

            CirC = lineLineIntersection(a, b, c, e, f, g);
            CirR = EMath.Len(A, CirC);
        }