mirror of https://github.com/CGAL/cgal
Refresh with CGAL::Weighted_point_3
This commit is contained in:
parent
0d3c455ef0
commit
1842d57098
|
|
@ -24,19 +24,17 @@
|
||||||
#include <CGAL/license/Surface_mesher.h>
|
#include <CGAL/license/Surface_mesher.h>
|
||||||
|
|
||||||
|
|
||||||
#include <CGAL/Weighted_point.h>
|
#include <CGAL/Weighted_point_3.h>
|
||||||
#include <boost/config.hpp>
|
|
||||||
#include <boost/mpl/bool.hpp>
|
|
||||||
#include <CGAL/assertions.h>
|
#include <CGAL/assertions.h>
|
||||||
|
|
||||||
namespace CGAL {
|
namespace CGAL {
|
||||||
|
|
||||||
template <class P>
|
template <class P>
|
||||||
struct Is_weighted : public ::boost::mpl::false_ {} ;
|
struct Is_weighted : public Tag_false {} ;
|
||||||
|
|
||||||
template <class P, typename FT>
|
template <typename FT>
|
||||||
struct Is_weighted< ::CGAL::Weighted_point<P, FT> > :
|
struct Is_weighted< ::CGAL::Weighted_point_3<FT> > :
|
||||||
public ::boost::mpl::true_ {} ;
|
public Tag_true {} ;
|
||||||
|
|
||||||
namespace details {
|
namespace details {
|
||||||
|
|
||||||
|
|
@ -51,7 +49,7 @@ namespace CGAL {
|
||||||
{
|
{
|
||||||
typedef P Point;
|
typedef P Point;
|
||||||
typedef P Bare_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;
|
typedef Tag_false Is_weighted;
|
||||||
|
|
||||||
const Bare_point& bare_point(const Point& bp)
|
const Bare_point& bare_point(const Point& bp)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue