mirror of https://github.com/CGAL/cgal
fix warning about variable "tr" not used
This commit is contained in:
parent
10affa9072
commit
13aa560db6
|
|
@ -57,13 +57,6 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
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
|
// default constructor: empty point set and K = 1.0
|
||||||
Lipschitz_sizing_field_2()
|
Lipschitz_sizing_field_2()
|
||||||
: K(1.0)
|
: K(1.0)
|
||||||
|
|
@ -96,6 +89,12 @@ public:
|
||||||
#endif
|
#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
|
// assignment operator, copies point set and K
|
||||||
Lipschitz_sizing_field_2& operator =(const Lipschitz_sizing_field_2& f)
|
Lipschitz_sizing_field_2& operator =(const Lipschitz_sizing_field_2& f)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue