mirror of https://github.com/CGAL/cgal
Initialize in the initializer list
This commit is contained in:
parent
c42d61581d
commit
ba6f72ac3f
|
|
@ -89,41 +89,20 @@ private:
|
|||
public:
|
||||
|
||||
Reconstruction_vertex_base_3()
|
||||
: Vb()
|
||||
{
|
||||
m_f = (FT)0.0;
|
||||
m_type = 0;
|
||||
m_constrained = false;
|
||||
m_index = 0;
|
||||
}
|
||||
: Vb(), m_f(FT(0.0)), m_constrained(false), m_type(0), m_index(0)
|
||||
{}
|
||||
|
||||
Reconstruction_vertex_base_3(const Point_with_normal& p)
|
||||
: Vb(p)
|
||||
{
|
||||
m_f = 0.0f;
|
||||
m_type = 0;
|
||||
m_constrained = false;
|
||||
m_index = 0;
|
||||
|
||||
}
|
||||
: Vb(p), m_f(FT(0.0)), m_constrained(false), m_type(0), m_index(0)
|
||||
{}
|
||||
|
||||
Reconstruction_vertex_base_3(const Point_with_normal& p, Cell_handle c)
|
||||
: Vb(p,c)
|
||||
{
|
||||
m_f = (FT)0.0;
|
||||
m_type = 0;
|
||||
m_constrained = false;
|
||||
m_index = 0;
|
||||
}
|
||||
: Vb(p,c), m_f(FT(0.0)), m_constrained(false), m_type(0), m_index(0)
|
||||
{}
|
||||
|
||||
Reconstruction_vertex_base_3(Cell_handle c)
|
||||
: Vb(c)
|
||||
{
|
||||
m_f = (FT)0.0;
|
||||
m_type = 0;
|
||||
m_constrained = false;
|
||||
m_index = 0;
|
||||
}
|
||||
: Vb(c), m_f(FT(0.0)), m_constrained(false), m_type(0), m_index(0)
|
||||
{}
|
||||
|
||||
/// Is vertex constrained, i.e.
|
||||
/// does it contribute to the right or left member of the linear system?
|
||||
|
|
|
|||
Loading…
Reference in New Issue