浏览代码

rm unused typedefs

Former-commit-id: 6798a5306a5b8130901d3bf7e149f1b73e87bcd1
Alec Jacobson 8 年之前
父节点
当前提交
557d196625

+ 0 - 1
include/igl/copyleft/cgal/insert_into_cdt.cpp

@@ -29,7 +29,6 @@ IGL_INLINE void igl::copyleft::cgal::insert_into_cdt(
   typedef CGAL::Point_3<Kernel>    Point_3;
   typedef CGAL::Point_3<Kernel>    Point_3;
   typedef CGAL::Segment_3<Kernel>  Segment_3; 
   typedef CGAL::Segment_3<Kernel>  Segment_3; 
   typedef CGAL::Triangle_3<Kernel> Triangle_3; 
   typedef CGAL::Triangle_3<Kernel> Triangle_3; 
-  typedef CGAL::Plane_3<Kernel>    Plane_3;
 
 
   if(const Segment_3 *iseg = CGAL::object_cast<Segment_3 >(&obj)) 
   if(const Segment_3 *iseg = CGAL::object_cast<Segment_3 >(&obj)) 
   {
   {

+ 0 - 4
include/igl/copyleft/cgal/projected_cdt.cpp

@@ -16,10 +16,6 @@ IGL_INLINE void igl::copyleft::cgal::projected_cdt(
   std::vector<CGAL::Point_3<Kernel> >& vertices,
   std::vector<CGAL::Point_3<Kernel> >& vertices,
   std::vector<std::vector<Index> >& faces)
   std::vector<std::vector<Index> >& faces)
 {
 {
-  typedef CGAL::Point_3<Kernel>    Point_3;
-  typedef CGAL::Segment_3<Kernel>  Segment_3; 
-  typedef CGAL::Triangle_3<Kernel> Triangle_3; 
-  typedef CGAL::Plane_3<Kernel>    Plane_3;
   typedef CGAL::Triangulation_vertex_base_2<Kernel>  TVB_2;
   typedef CGAL::Triangulation_vertex_base_2<Kernel>  TVB_2;
   typedef CGAL::Constrained_triangulation_face_base_2<Kernel> CTFB_2;
   typedef CGAL::Constrained_triangulation_face_base_2<Kernel> CTFB_2;
   typedef CGAL::Triangulation_data_structure_2<TVB_2,CTFB_2> TDS_2;
   typedef CGAL::Triangulation_data_structure_2<TVB_2,CTFB_2> TDS_2;

+ 0 - 1
include/igl/copyleft/cgal/remesh_intersections.cpp

@@ -85,7 +85,6 @@ IGL_INLINE void igl::copyleft::cgal::remesh_intersections(
 
 
     typedef CGAL::Point_3<Kernel>    Point_3;
     typedef CGAL::Point_3<Kernel>    Point_3;
     typedef CGAL::Segment_3<Kernel>  Segment_3; 
     typedef CGAL::Segment_3<Kernel>  Segment_3; 
-    typedef CGAL::Triangle_3<Kernel> Triangle_3; 
     typedef CGAL::Plane_3<Kernel>    Plane_3;
     typedef CGAL::Plane_3<Kernel>    Plane_3;
     typedef CGAL::Triangulation_vertex_base_2<Kernel>  TVB_2;
     typedef CGAL::Triangulation_vertex_base_2<Kernel>  TVB_2;
     typedef CGAL::Constrained_triangulation_face_base_2<Kernel> CTFB_2;
     typedef CGAL::Constrained_triangulation_face_base_2<Kernel> CTFB_2;