Refresh with CGAL::Weighted_point_3

This commit is contained in:
Laurent Rineau 2017-07-11 13:30:39 +02:00
parent 0d3c455ef0
commit 1842d57098
1 changed files with 6 additions and 8 deletions

View File

@ -24,19 +24,17 @@
#include <CGAL/license/Surface_mesher.h>
#include <CGAL/Weighted_point.h>
#include <boost/config.hpp>
#include <boost/mpl/bool.hpp>
#include <CGAL/Weighted_point_3.h>
#include <CGAL/assertions.h>
namespace CGAL {
template <class P>
struct Is_weighted : public ::boost::mpl::false_ {} ;
struct Is_weighted : public Tag_false {} ;
template <class P, typename FT>
struct Is_weighted< ::CGAL::Weighted_point<P, FT> > :
public ::boost::mpl::true_ {} ;
template <typename FT>
struct Is_weighted< ::CGAL::Weighted_point_3<FT> > :
public Tag_true {} ;
namespace details {
@ -51,7 +49,7 @@ namespace CGAL {
{
typedef P Point;
typedef P Bare_point;
typedef typename ::CGAL::Weighted_point<Bare_point, FT> Weighted_point;
typedef typename ::CGAL::Weighted_point_3<FT> Weighted_point;
typedef Tag_false Is_weighted;
const Bare_point& bare_point(const Point& bp)