fix warning about variable "tr" not used

This commit is contained in:
Jane Tournois 2015-05-18 11:26:10 +02:00 committed by Sébastien Loriot
parent 10affa9072
commit 13aa560db6
1 changed files with 8 additions and 9 deletions

View File

@ -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)
{ {