Ejemplo n.º 1
0
    public void Calculate()
    {
        mInsectPoints.Clear();

        Circle.ThreeCircleIntersectPoints(c1, c2, c3, mInsectPoints);
        Circle.ThreeCircleIntersectPoints(c2, c3, c1, mInsectPoints);
        Circle.ThreeCircleIntersectPoints(c1, c3, c2, mInsectPoints);

        if (mInsectPoints.Count == 3)
        {
            Triangle t = new Triangle(mInsectPoints[0], mInsectPoints[1], mInsectPoints[2]);
            innerCircle = t.InnerCircle();
        }
    }