const function: bool_point_quadruple intersection_points (const Circle& c, [const bool verbose = false])Returns the intersection points of two
Circles.If the
Circlesare coplanar, they can intersect at at most two points. There is an easy algebraic solution for this, so in this case, this function is faster thanEllipse::intersection_points(Ellipse, bool), which uses an iterative procedure to find the points.If the
Circlesare non-coplanar, the intersection points of eachCirclewith the plane of the otherCircleare returned, so a maximum of fourPointscan be found.Circle t(origin, 5, 90); Circle c(origin, 3, 90); c.shift(3); c.rotate(0, 0, 45); bool_point_quadruple bpq = t.intersection_points(c); bpq.first.pt.dotlabel("$f$"); bpq.second.pt.dotlabel("$s$");
![]()
Fig. 177.