mirror of https://github.com/CGAL/cgal
fix warning about variable "tr" not used
This commit is contained in:
parent
10affa9072
commit
13aa560db6
|
|
@ -21,8 +21,8 @@ namespace CGAL
|
|||
{
|
||||
|
||||
template <typename Tr>
|
||||
class Lipschitz_sizing_field_2
|
||||
: public virtual Sizing_field_2<Tr>
|
||||
class Lipschitz_sizing_field_2
|
||||
: public virtual Sizing_field_2<Tr>
|
||||
{
|
||||
public:
|
||||
typedef typename Tr::Geom_traits Geom_traits;
|
||||
|
|
@ -57,13 +57,6 @@ public:
|
|||
};
|
||||
|
||||
public:
|
||||
// default constructor: empty point set and K = 1.0
|
||||
Lipschitz_sizing_field_2(Tr& tr)
|
||||
: Lipschitz_sizing_field_2()
|
||||
{
|
||||
//todo : use vertices of tr as sites
|
||||
}
|
||||
|
||||
// default constructor: empty point set and K = 1.0
|
||||
Lipschitz_sizing_field_2()
|
||||
: K(1.0)
|
||||
|
|
@ -96,6 +89,12 @@ public:
|
|||
#endif
|
||||
}
|
||||
|
||||
// constructor from a triangulation
|
||||
Lipschitz_sizing_field_2(Tr& tr, const double k = 1.0)
|
||||
: Lipschitz_sizing_field_2(tr.points_begin(), tr.points_end(), k)
|
||||
{
|
||||
}
|
||||
|
||||
// assignment operator, copies point set and K
|
||||
Lipschitz_sizing_field_2& operator =(const Lipschitz_sizing_field_2& f)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue