Removed boost properties (unused).

This commit is contained in:
Laurent Saboret 2008-09-29 14:08:19 +00:00
parent 013a8f5b8f
commit 21badcfe18
1 changed files with 0 additions and 108 deletions

View File

@ -25,7 +25,6 @@
#include <CGAL/surface_reconstruction_assertions.h>
#include <CGAL/Delaunay_triangulation_3.h>
#include <CGAL/boost/graph/properties.h>
#include <CGAL/Min_sphere_d.h>
#include <CGAL/Optimisation_d_traits_3.h>
#include <CGAL/bounding_box.h>
@ -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 BaseGt, class Gt, class Tds>
class Implicit_fct_delaunay_triangulation_vertex_point_const_map
{
public:
typedef Implicit_fct_delaunay_triangulation_3<BaseGt,Gt,Tds> 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 <class BaseGt, class Gt, class Tds>
inline
Implicit_fct_delaunay_triangulation_vertex_point_const_map<BaseGt,Gt,Tds>
get(vertex_point_t, const Implicit_fct_delaunay_triangulation_3<BaseGt,Gt,Tds>& tr)
{
Implicit_fct_delaunay_triangulation_vertex_point_const_map<BaseGt,Gt,Tds> aMap(tr);
return aMap;
}
/// Helper class: type of the "vertex_normal" property map
/// of an Implicit_fct_delaunay_triangulation_3 object.
template <class BaseGt, class Gt, class Tds>
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<BaseGt,Gt,Tds> >
{
public:
typedef Implicit_fct_delaunay_triangulation_3<BaseGt,Gt,Tds> 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 <class BaseGt, class Gt, class Tds>
inline
Implicit_fct_delaunay_triangulation_vertex_normal_map<BaseGt,Gt,Tds>
get(boost::vertex_normal_t, const Implicit_fct_delaunay_triangulation_3<BaseGt,Gt,Tds>& tr)
{
Implicit_fct_delaunay_triangulation_vertex_normal_map<BaseGt,Gt,Tds> aMap(tr);
return aMap;
}
/// Helper class: type of the "vertex_index" property map
/// of an Implicit_fct_delaunay_triangulation_3 object.
template <class BaseGt, class Gt, class Tds>
class Implicit_fct_delaunay_triangulation_vertex_index_map
: public boost::put_get_helper< unsigned int&,
Implicit_fct_delaunay_triangulation_vertex_index_map<BaseGt,Gt,Tds> >
{
public:
typedef Implicit_fct_delaunay_triangulation_3<BaseGt,Gt,Tds> 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 <class BaseGt, class Gt, class Tds>
inline
Implicit_fct_delaunay_triangulation_vertex_index_map<BaseGt,Gt,Tds>
get(boost::vertex_index_t, const Implicit_fct_delaunay_triangulation_3<BaseGt,Gt,Tds>& tr)
{
Implicit_fct_delaunay_triangulation_vertex_index_map<BaseGt,Gt,Tds> aMap(tr);
return aMap;
}
CGAL_END_NAMESPACE
#endif // CGAL_IMPLICIT_FCT_DELAUNAY_TRIANGULATION_H