mirror of https://github.com/CGAL/cgal
53 lines
845 B
C++
53 lines
845 B
C++
// Copyright (c) 2013 INRIA Sophia-Antipolis (France),
|
|
// 2014-2015 GeometryFactory (France).
|
|
// All rights reserved.
|
|
//
|
|
// This file is part of CGAL (www.cgal.org).
|
|
//
|
|
// $URL$
|
|
// $Id$
|
|
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial
|
|
//
|
|
//
|
|
// Author(s) : Jane Tournois, Pierre Alliez
|
|
//
|
|
|
|
#ifndef CGAL_SIZING_FIELD_2_H
|
|
#define CGAL_SIZING_FIELD_2_H
|
|
|
|
#include <CGAL/license/Mesh_2.h>
|
|
|
|
|
|
#include <list>
|
|
|
|
#include <CGAL/basic.h>
|
|
|
|
namespace CGAL
|
|
{
|
|
|
|
template <typename Tr>
|
|
class Sizing_field_2 // pure virtual class
|
|
{
|
|
public:
|
|
typedef typename Tr::Geom_traits::Point_2 Point_2;
|
|
typedef typename Tr::Geom_traits::FT FT;
|
|
|
|
public:
|
|
Sizing_field_2()
|
|
{
|
|
}
|
|
Sizing_field_2(Tr& )
|
|
{
|
|
}
|
|
|
|
virtual ~Sizing_field_2()
|
|
{
|
|
}
|
|
|
|
virtual FT operator()(const Point_2& p) const = 0;
|
|
};
|
|
|
|
}//namespace CGAL
|
|
|
|
#endif
|