mirror of https://github.com/CGAL/cgal
Cosmetic changes
This commit is contained in:
parent
325be3560b
commit
e23d76cfab
|
|
@ -30,6 +30,7 @@
|
||||||
#include <CGAL/Circle_2.h>
|
#include <CGAL/Circle_2.h>
|
||||||
#include <CGAL/Line_2.h>
|
#include <CGAL/Line_2.h>
|
||||||
#include <CGAL/squared_distance_2_1.h>
|
#include <CGAL/squared_distance_2_1.h>
|
||||||
|
#include <CGAL/Intersection_traits_2.h>
|
||||||
|
|
||||||
namespace CGAL {
|
namespace CGAL {
|
||||||
namespace Intersections {
|
namespace Intersections {
|
||||||
|
|
@ -56,27 +57,8 @@ do_intersect(const typename K::Line_2& l,
|
||||||
} // namespace internal
|
} // namespace internal
|
||||||
} // namespace Intersections
|
} // namespace Intersections
|
||||||
|
|
||||||
template <class K>
|
CGAL_DO_INTERSECT_FUNCTION(Circle_2, Line_2, 2)
|
||||||
inline
|
|
||||||
bool
|
|
||||||
do_intersect(const Circle_2<K> & c,
|
|
||||||
const Line_2<K> & l)
|
|
||||||
{
|
|
||||||
typedef typename K::Do_intersect_2 Do_intersect;
|
|
||||||
return Do_intersect()(c, l);
|
|
||||||
}
|
|
||||||
|
|
||||||
template <class K>
|
} // namespace CGAL
|
||||||
inline
|
|
||||||
bool
|
|
||||||
do_intersect(const Line_2<K> & l,
|
|
||||||
const Circle_2<K> & c)
|
|
||||||
{
|
|
||||||
typedef typename K::Do_intersect_2 Do_intersect;
|
|
||||||
return Do_intersect()(c, l);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
} //namespace CGAL
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -31,8 +31,8 @@
|
||||||
#include <CGAL/Intersections_2/Bbox_2_Circle_2.h>
|
#include <CGAL/Intersections_2/Bbox_2_Circle_2.h>
|
||||||
#include <CGAL/Intersections_2/Bbox_2_Point_2.h>
|
#include <CGAL/Intersections_2/Bbox_2_Point_2.h>
|
||||||
|
|
||||||
#include <CGAL/Intersections_2/Circle_2_Iso_rectangle_2.h>
|
|
||||||
#include <CGAL/Intersections_2/Circle_2_Circle_2.h>
|
#include <CGAL/Intersections_2/Circle_2_Circle_2.h>
|
||||||
|
#include <CGAL/Intersections_2/Circle_2_Iso_rectangle_2.h>
|
||||||
#include <CGAL/Intersections_2/Circle_2_Line_2.h>
|
#include <CGAL/Intersections_2/Circle_2_Line_2.h>
|
||||||
#include <CGAL/Intersections_2/Circle_2_Point_2.h>
|
#include <CGAL/Intersections_2/Circle_2_Point_2.h>
|
||||||
|
|
||||||
|
|
@ -49,9 +49,9 @@
|
||||||
#include <CGAL/Intersections_2/Line_2_Segment_2.h>
|
#include <CGAL/Intersections_2/Line_2_Segment_2.h>
|
||||||
#include <CGAL/Intersections_2/Line_2_Triangle_2.h>
|
#include <CGAL/Intersections_2/Line_2_Triangle_2.h>
|
||||||
|
|
||||||
|
#include <CGAL/Intersections_2/Point_2_Point_2.h>
|
||||||
#include <CGAL/Intersections_2/Point_2_Ray_2.h>
|
#include <CGAL/Intersections_2/Point_2_Ray_2.h>
|
||||||
#include <CGAL/Intersections_2/Point_2_Segment_2.h>
|
#include <CGAL/Intersections_2/Point_2_Segment_2.h>
|
||||||
#include <CGAL/Intersections_2/Point_2_Point_2.h>
|
|
||||||
#include <CGAL/Intersections_2/Point_2_Triangle_2.h>
|
#include <CGAL/Intersections_2/Point_2_Triangle_2.h>
|
||||||
|
|
||||||
#include <CGAL/Intersections_2/Ray_2_Ray_2.h>
|
#include <CGAL/Intersections_2/Ray_2_Ray_2.h>
|
||||||
|
|
@ -63,5 +63,4 @@
|
||||||
|
|
||||||
#include <CGAL/Intersections_2/Triangle_2_Triangle_2.h>
|
#include <CGAL/Intersections_2/Triangle_2_Triangle_2.h>
|
||||||
|
|
||||||
|
|
||||||
#endif // CGAL_INTERSECTION_2_H
|
#endif // CGAL_INTERSECTION_2_H
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue