@i cgal_util.fwi @B@ @O@<../include/CGAL/Circle_2_Circle_2_intersection.h@>==@{ @@(@- include/CGAL/Circle_2_Circle_2_intersection.h@,@- intersection_2_3.fw@,@- Geert-Jan Giezeman@,@- MPI, Saarbruecken@) #ifndef CGAL_CIRCLE_2_CIRCLE_2_INTERSECTION_H #define CGAL_CIRCLE_2_CIRCLE_2_INTERSECTION_H #include CGAL_BEGIN_NAMESPACE template bool do_intersect(const Circle_2 &tr1, const Circle_2&tr2); CGAL_END_NAMESPACE #ifdef CGAL_CFG_NO_AUTOMATIC_TEMPLATE_INCLUSION #include #endif #endif @} @O@<../include/CGAL/Circle_2_Circle_2_intersection.C@>==@{ @@(@- include/CGAL/Circle_2_Circle_2_intersection.C@,@- intersection_2_2.fw@,@- Geert-Jan Giezeman@,@- Saarbruecken@) #include #include CGAL_BEGIN_NAMESPACE template bool do_intersect(const Circle_2 & circ1, const Circle_2& circ2) { typedef typename R::FT FT; FT sr1 = circ1.squared_radius(); FT sr2 = circ2.squared_radius(); FT squared_dist = squared_distance(circ1.center(), circ2.center()); FT temp = sr1+sr2-squared_dist; return !(FT(4)*sr1*sr2 < temp*temp); } CGAL_END_NAMESPACE @} @B@ @O@<../include/CGAL/intersection_2_3.h@>==@{@- @@(@- include/CGAL/intersection_2_3.h@,@- intersection_2_3.fw@,@- Geert-Jan Giezeman@,@- Saarbruecken@) #ifndef CGAL_INTERSECTION_2_3_H #define CGAL_INTERSECTION_2_3_H #include #endif @}