diff --git a/Surface_reconstruction_3/include/CGAL/Implicit_fct_delaunay_triangulation_3.h b/Surface_reconstruction_3/include/CGAL/Implicit_fct_delaunay_triangulation_3.h index dcad2a470ed..1abc6c43e8c 100644 --- a/Surface_reconstruction_3/include/CGAL/Implicit_fct_delaunay_triangulation_3.h +++ b/Surface_reconstruction_3/include/CGAL/Implicit_fct_delaunay_triangulation_3.h @@ -25,7 +25,6 @@ #include #include -#include #include #include #include @@ -663,113 +662,6 @@ private: }; // end of Implicit_fct_delaunay_triangulation_3 -/// Helper class: type of the "vertex_point" property map -/// of an Implicit_fct_delaunay_triangulation_3 object. -template -class Implicit_fct_delaunay_triangulation_vertex_point_const_map -{ -public: - typedef Implicit_fct_delaunay_triangulation_3 Triangulation; - typedef typename Gt::Point_3 Point_3; - - // Property maps required types - typedef boost::readable_property_map_tag category; - typedef Point_3 value_type; - typedef value_type reference; - typedef typename Triangulation::Finite_vertices_iterator key_type; - - Implicit_fct_delaunay_triangulation_vertex_point_const_map(const Triangulation&) {} - - /// Free function to access the map elements. - friend inline - reference - get(const Implicit_fct_delaunay_triangulation_vertex_point_const_map&, key_type v) - { - return v->point(); - } -}; - -/// Free function to get the "vertex_point" property map -/// of an Implicit_fct_delaunay_triangulation_3 object. -template -inline -Implicit_fct_delaunay_triangulation_vertex_point_const_map -get(vertex_point_t, const Implicit_fct_delaunay_triangulation_3& tr) -{ - Implicit_fct_delaunay_triangulation_vertex_point_const_map aMap(tr); - return aMap; -} - - -/// Helper class: type of the "vertex_normal" property map -/// of an Implicit_fct_delaunay_triangulation_3 object. -template -class Implicit_fct_delaunay_triangulation_vertex_normal_map - : public boost::put_get_helper< typename Gt::Point_3::Normal&, - Implicit_fct_delaunay_triangulation_vertex_normal_map > -{ -public: - typedef Implicit_fct_delaunay_triangulation_3 Triangulation; - typedef typename Gt::Point_3::Normal Normal; - - // Property maps required types - typedef boost::lvalue_property_map_tag category; - typedef Normal value_type; - typedef Normal& reference; - typedef typename Triangulation::Finite_vertices_iterator key_type; - - Implicit_fct_delaunay_triangulation_vertex_normal_map(const Triangulation&) {} - - /// Access the map elements. - reference operator[](key_type v) const { return v->normal(); } -}; - -/// Free function to get the "vertex_normal" property map -/// of an Implicit_fct_delaunay_triangulation_3 object. -template -inline -Implicit_fct_delaunay_triangulation_vertex_normal_map -get(boost::vertex_normal_t, const Implicit_fct_delaunay_triangulation_3& tr) -{ - Implicit_fct_delaunay_triangulation_vertex_normal_map aMap(tr); - return aMap; -} - - -/// Helper class: type of the "vertex_index" property map -/// of an Implicit_fct_delaunay_triangulation_3 object. -template -class Implicit_fct_delaunay_triangulation_vertex_index_map - : public boost::put_get_helper< unsigned int&, - Implicit_fct_delaunay_triangulation_vertex_index_map > -{ -public: - typedef Implicit_fct_delaunay_triangulation_3 Triangulation; - - // Property maps required types - typedef boost::lvalue_property_map_tag category; - typedef unsigned int value_type; - typedef unsigned int& reference; - typedef typename Triangulation::Finite_vertices_iterator key_type; - - Implicit_fct_delaunay_triangulation_vertex_index_map(const Triangulation&) {} - - /// Access the map elements. - reference operator[](key_type v) const { return v->index(); } -}; - -/// Free function to get the "vertex_index" property map -/// of an Implicit_fct_delaunay_triangulation_3 object. -template -inline -Implicit_fct_delaunay_triangulation_vertex_index_map -get(boost::vertex_index_t, const Implicit_fct_delaunay_triangulation_3& tr) -{ - Implicit_fct_delaunay_triangulation_vertex_index_map aMap(tr); - return aMap; -} - - CGAL_END_NAMESPACE #endif // CGAL_IMPLICIT_FCT_DELAUNAY_TRIANGULATION_H