00001 #ifndef CEP_INTERSECTION_SEGMENT_3_TRIANGLE_3_H // -*- C++ -*-
00002 #define CEP_INTERSECTION_SEGMENT_3_TRIANGLE_3_H
00003
00004 #include <CGAL/Object.h>
00005 #include <CGAL/Segment_3.h>
00006 #include <CGAL/Triangle_3.h>
00007
00008
00009 namespace CEP {
00010 namespace intersection {
00011
00012 using CGAL::Segment_3;
00013 using CGAL::Triangle_3;
00014
00015
00017 template <class R>
00018 bool
00019 coplanar_do_intersect( const Segment_3<R>& segment,
00020 const Triangle_3<R>& triangle );
00021
00022
00024 template <class R>
00025 CGAL::Object
00026 coplanar_intersection( const Segment_3<R>& segment,
00027 const Triangle_3<R>& triangle );
00028
00029
00031 template <class R>
00032 bool
00033 do_intersect( const Segment_3<R>& segment,
00034 const Triangle_3<R>& triangle );
00035
00036
00038 template <class R>
00039 CGAL::Object
00040 intersection( const Segment_3<R>& segment,
00041 const Triangle_3<R>& triangle );
00042
00043
00044 }
00045 }
00046
00047
00048 #ifdef CGAL_CFG_NO_AUTOMATIC_TEMPLATE_INCLUSION
00049 # include <CEP/intersection/Segment_3_Triangle_3.C>
00050 #endif
00051
00052 #endif